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));