diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-07-15 14:46:30 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-07-15 14:46:30 +0000 |
commit | fdda5d1480469fd38bc0d4428ec3aa87d73e6fbd (patch) | |
tree | dee0d4700d4263d17e0505551c7acf5240040947 /lib/class/album.class.php | |
parent | 50d7a8b7f32fa597823c54be730cbce6d44d2af7 (diff) | |
download | ampache-fdda5d1480469fd38bc0d4428ec3aa87d73e6fbd.tar.gz ampache-fdda5d1480469fd38bc0d4428ec3aa87d73e6fbd.tar.bz2 ampache-fdda5d1480469fd38bc0d4428ec3aa87d73e6fbd.zip |
fixed the albums/artists I broke a few revs ago and sync of the download stats fix from branch
Diffstat (limited to 'lib/class/album.class.php')
-rw-r--r-- | lib/class/album.class.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/class/album.class.php b/lib/class/album.class.php index 184842b6..55eff015 100644 --- a/lib/class/album.class.php +++ b/lib/class/album.class.php @@ -54,12 +54,8 @@ class Album extends database_object { if (!$id) { return false; } - - /* Assign id for use in get_info() */ - $this->id = intval($id); - /* Get the information from the db */ - $info = $this->get_info(); + $info = $this->get_info($id); // Foreach what we've got foreach ($info as $key=>$value) { |