forked from extern/egroupware
Use different app if running hooked also
This commit is contained in:
parent
4e54cdabc0
commit
324cb05599
@ -112,7 +112,7 @@ class customfields_widget
|
|||||||
{
|
{
|
||||||
list($app) = explode('.',$tmpl->name);
|
list($app) = explode('.',$tmpl->name);
|
||||||
// if we are in the etemplate editor or the app has no cf's, load the cf's from the app the tpl belongs too
|
// if we are in the etemplate editor or the app has no cf's, load the cf's from the app the tpl belongs too
|
||||||
if ($app && $app != 'stylite' && $app != $this->appname && ($this->appname == 'etemplate' || !$this->customfields))
|
if ($app && $app != 'stylite' && $app != $this->appname && ($this->appname == 'etemplate' || !$this->customfields || etemplate::$hooked))
|
||||||
{
|
{
|
||||||
self::__construct(null,$app); // app changed
|
self::__construct(null,$app); // app changed
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user