mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
use Etemplate\Widget::registerWidget, not some third class extended from Etemplate\Widget, as that might screw up autoloading if it happes to create a circle
This commit is contained in:
parent
7822f84943
commit
4315999573
@ -33,4 +33,4 @@ class Accountfilter extends Widget\Taglist
|
|||||||
$this->attrs['type'] = 'select-account';
|
$this->attrs['type'] = 'select-account';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Customfilter::registerWidget(__NAMESPACE__.'\\Accountfilter', array('nextmatch-accountfilter'));
|
Widget::registerWidget(__NAMESPACE__.'\\Accountfilter', array('nextmatch-accountfilter'));
|
@ -79,4 +79,4 @@ class Customfilter extends Widget\Transformer
|
|||||||
$valid = $value ? $value : null;
|
$valid = $value ? $value : null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Customfilter::registerWidget(__NAMESPACE__.'\\Customfilter', array('nextmatch-customfilter'));
|
Widget::registerWidget(__NAMESPACE__.'\\Customfilter', array('nextmatch-customfilter'));
|
@ -22,4 +22,4 @@ class Filterheader extends Widget\Taglist
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
Customfilter::registerWidget(__NAMESPACE__.'\\Filterheader', array('nextmatch-filterheader'));
|
Widget::registerWidget(__NAMESPACE__.'\\Filterheader', array('nextmatch-filterheader'));
|
Loading…
Reference in New Issue
Block a user