From: Brion Vibber Date: Mon, 6 Dec 2010 23:20:49 +0000 (-0800) Subject: fix breakage in AutocompletePlugin X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=851dbf1361071bebe34900a6802724b017c68cfc;p=quix0rs-gnu-social.git fix breakage in AutocompletePlugin --- diff --git a/plugins/Autocomplete/autocomplete.php b/plugins/Autocomplete/autocomplete.php index a4e2d9baa4..be5b51a199 100644 --- a/plugins/Autocomplete/autocomplete.php +++ b/plugins/Autocomplete/autocomplete.php @@ -59,7 +59,7 @@ class AutocompleteAction extends Action { $max=0; foreach($this->users as $user){ - $max = max($max,strtotime($user->modified),strtotime($user->profile->modified)); + $max = max($max,strtotime($user->modified),strtotime($user->getProfile()->modified)); } foreach($this->groups as $group){ $max = max($max,strtotime($group->modified));