diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-06-19 04:56:07 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-06-19 04:56:07 +0000 |
commit | de0deca8541332971fe5cfa57b5343c7c4ee8542 (patch) | |
tree | 50c7d3bee3eedd5bad62f4ff325c36b563291e52 /lib | |
parent | 97469b849f08d985e538379143f729b9c8fa72d4 (diff) | |
download | ampache-de0deca8541332971fe5cfa57b5343c7c4ee8542.tar.gz ampache-de0deca8541332971fe5cfa57b5343c7c4ee8542.tar.bz2 ampache-de0deca8541332971fe5cfa57b5343c7c4ee8542.zip |
fixed an issue with songs stopping a little early depending on the client you use
Diffstat (limited to 'lib')
-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; |