fix breakage in AutocompletePlugin

This commit is contained in:
Brion Vibber 2010-12-06 15:20:49 -08:00
parent 2e27cbcadd
commit 851dbf1361

View File

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