mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 12:21:26 +02:00
Try to avoid error opening Addressbook policy
This commit is contained in:
parent
dd95002b8b
commit
1064cdeff2
@ -1340,9 +1340,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…
x
Reference in New Issue
Block a user