diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-02-08 21:29:51 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-02-08 21:29:51 +0000 |
commit | 5343c30ff528ca886cd9a581d30cd9c6bfe9d2e4 (patch) | |
tree | f15cb58f7d71e2a588d9bb77aa8115f90a3963ed /lib/class/playlist.class.php | |
parent | 2c21726d0f70357059d7c6ca75d5dec3e38d879b (diff) | |
download | ampache-5343c30ff528ca886cd9a581d30cd9c6bfe9d2e4.tar.gz ampache-5343c30ff528ca886cd9a581d30cd9c6bfe9d2e4.tar.bz2 ampache-5343c30ff528ca886cd9a581d30cd9c6bfe9d2e4.zip |
fixed a few more unescaped ids
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']; |