fix breakage in AutocompletePlugin
This commit is contained in:
parent
2e27cbcadd
commit
851dbf1361
@ -59,7 +59,7 @@ class AutocompleteAction extends Action
|
|||||||
{
|
{
|
||||||
$max=0;
|
$max=0;
|
||||||
foreach($this->users as $user){
|
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){
|
foreach($this->groups as $group){
|
||||||
$max = max($max,strtotime($group->modified));
|
$max = max($max,strtotime($group->modified));
|
||||||
|
Loading…
Reference in New Issue
Block a user