summaryrefslogtreecommitdiffstats
path: root/lib/class/artist.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/class/artist.class.php')
-rw-r--r--lib/class/artist.class.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/class/artist.class.php b/lib/class/artist.class.php
index f55fd999..64160d35 100644
--- a/lib/class/artist.class.php
+++ b/lib/class/artist.class.php
@@ -44,11 +44,8 @@ class Artist extends database_object {
/* If they failed to pass in an id, just run for it */
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 ($info as $key=>$value) {
$this->$key = $value;