From: Mikael Nordfeldth Date: Fri, 18 Apr 2014 20:18:11 +0000 (+0200) Subject: We get profiles directly, there's no user object anymore X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=37e9366e8812abd9161c17f81908ae1a6f1db078;p=quix0rs-gnu-social.git We get profiles directly, there's no user object anymore --- diff --git a/plugins/Autocomplete/actions/autocomplete.php b/plugins/Autocomplete/actions/autocomplete.php index fce0014573..c6676250c0 100644 --- a/plugins/Autocomplete/actions/autocomplete.php +++ b/plugins/Autocomplete/actions/autocomplete.php @@ -63,7 +63,7 @@ class AutocompleteAction extends Action { $max=0; foreach($this->profiles as $profile){ - $max = max($max,strtotime($user->modified),strtotime($profile->modified)); + $max = max($max, strtotime($profile->modified)); } foreach($this->groups as $group){ $max = max($max,strtotime($group->modified));