diff options
Diffstat (limited to 'lib/class/song.class.php')
-rw-r--r-- | lib/class/song.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class/song.class.php b/lib/class/song.class.php index b02dc2e4..c08594de 100644 --- a/lib/class/song.class.php +++ b/lib/class/song.class.php @@ -59,7 +59,7 @@ class Song { if ($song_id) { /* Assign id for use in get_info() */ - $this->id = sql_escape($song_id); + $this->id = intval($song_id); /* Get the information from the db */ if ($info = $this->get_info()) { |