From 37e9366e8812abd9161c17f81908ae1a6f1db078 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Fri, 18 Apr 2014 22:18:11 +0200 Subject: [PATCH] We get profiles directly, there's no user object anymore --- plugins/Autocomplete/actions/autocomplete.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.39.5