summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/Notice.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Notice.php b/classes/Notice.php
index 04ac6d7d4..7566136ce 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() {