diff --git a/classes/Notice.php b/classes/Notice.php index 04ac6d7d4e..7566136ce8 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -54,7 +54,7 @@ class Notice extends Memcached_DataObject ###END_AUTOCODE function getProfile() { - return Profile::staticGet($this->profile_id); + return Profile::staticGet('id', $this->profile_id); } function delete() {