diff options
author | Brion Vibber <brion@pobox.com> | 2010-12-06 15:20:49 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-12-06 15:23:12 -0800 |
commit | 851dbf1361071bebe34900a6802724b017c68cfc (patch) | |
tree | ab972bc235a20fb9901398283c4deaf502b22422 | |
parent | 2e27cbcadd16eca075e363fa154682cba09a9849 (diff) |
fix breakage in AutocompletePlugin
-rw-r--r-- | plugins/Autocomplete/autocomplete.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Autocomplete/autocomplete.php b/plugins/Autocomplete/autocomplete.php index a4e2d9baa..be5b51a19 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)); |