From 851dbf1361071bebe34900a6802724b017c68cfc Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 6 Dec 2010 15:20:49 -0800 Subject: [PATCH] fix breakage in AutocompletePlugin --- plugins/Autocomplete/autocomplete.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.39.5