diff --git a/classes/User.php b/classes/User.php index 022044aac1..4013fbc832 100644 --- a/classes/User.php +++ b/classes/User.php @@ -945,9 +945,9 @@ class User extends Memcached_DataObject $pr->orderBy('created'); - $pr->limit(0, 1); + $pr->limit(1); - if ($pr->fetch($true)) { + if ($pr->find(true)) { $owner = User::staticGet('id', $pr->profile_id); } else { $owner = null;