forked from extern/egroupware
Try to avoid error opening Addressbook policy
This commit is contained in:
parent
2b03dcfe98
commit
a056b8f4cd
@ -1336,9 +1336,9 @@ abstract class admin_cmd
|
||||
{
|
||||
static $tpl = null; // some caching to not instanciate it twice
|
||||
|
||||
if (!isset($tpl))
|
||||
{
|
||||
$name = $this->get_etemplate_name();
|
||||
if (!isset($tpl) || $tpl->id !== $name)
|
||||
{
|
||||
if (empty($name))
|
||||
{
|
||||
$tpl = false;
|
||||
|
Loading…
Reference in New Issue
Block a user