mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
small fix on load_via for boetemplate constructor
This commit is contained in:
parent
270920c5c4
commit
4b05104bd7
@ -67,9 +67,10 @@
|
||||
{
|
||||
$tname = &$name['name'];
|
||||
}
|
||||
$tname = (strstr($tname,'.') === False ? (is_array($load_via) ? $load_via['name'] : $load_via).'.':'').$tname;
|
||||
$tname = (strstr($tname,'.') === False && !empty($tname) ?
|
||||
(is_array($load_via) ? $load_via['name'] : $load_via).'.':'').$tname;
|
||||
|
||||
if (empty($name) || !$this->read($name,'','',0,'',$load_via))
|
||||
if (empty($tname) || !$this->read($name,'','',0,'',$load_via))
|
||||
{
|
||||
$this->init($name);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user