diff options
Diffstat (limited to 'lib/class/playlist.class.php')
-rw-r--r-- | lib/class/playlist.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class/playlist.class.php b/lib/class/playlist.class.php index ece5439a..ec5f70b6 100644 --- a/lib/class/playlist.class.php +++ b/lib/class/playlist.class.php @@ -45,7 +45,7 @@ class Playlist { if (!$playlist_id) { return false; } - $this->id = $playlist_id; + $this->id = intval($playlist_id); $info = $this->_get_info(); $this->name = $info['name']; $this->user = $info['user']; |