diff options
Diffstat (limited to 'lib/class/song.class.php')
-rw-r--r-- | lib/class/song.class.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/class/song.class.php b/lib/class/song.class.php index 0835c7c1..81b1bd01 100644 --- a/lib/class/song.class.php +++ b/lib/class/song.class.php @@ -303,17 +303,15 @@ class Song { * set_played * this checks to see if the current object has been played * if not then it sets it to played - * @package Song - * @catagory Class */ - function set_played() { + public function set_played() { if ($this->played) { return true; } /* If it hasn't been played, set it! */ - $this->update_played('1'); + self::update_played('1',$this->id); return true; |