From 5343c30ff528ca886cd9a581d30cd9c6bfe9d2e4 Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Wed, 8 Feb 2006 21:29:51 +0000 Subject: fixed a few more unescaped ids --- lib/class/playlist.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/class/playlist.class.php') 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']; -- cgit