summaryrefslogtreecommitdiffstats
path: root/lib/class/album.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/class/album.class.php')
-rw-r--r--lib/class/album.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class/album.class.php b/lib/class/album.class.php
index c1deb274..5e8ea565 100644
--- a/lib/class/album.class.php
+++ b/lib/class/album.class.php
@@ -43,7 +43,7 @@ class Album {
if ($album_id) {
/* Assign id for use in get_info() */
- $this->id = $album_id;
+ $this->id = intval($album_id);
/* Get the information from the db */
if ($info = $this->get_info()) {