// Small Fix
This commit is contained in:
@@ -1133,7 +1133,7 @@ class AdminControllerCore extends Controller
|
|||||||
'href' => $back,
|
'href' => $back,
|
||||||
'desc' => $this->l('Back to list')
|
'desc' => $this->l('Back to list')
|
||||||
);
|
);
|
||||||
$obj = $this->loadObject();
|
$obj = $this->loadObject(true);
|
||||||
if (Validate::isLoadedObject($obj) && isset($obj->name) && !empty($obj->name))
|
if (Validate::isLoadedObject($obj) && isset($obj->name) && !empty($obj->name))
|
||||||
{
|
{
|
||||||
array_pop($this->toolbar_title);
|
array_pop($this->toolbar_title);
|
||||||
@@ -1159,7 +1159,7 @@ class AdminControllerCore extends Controller
|
|||||||
'desc' => $this->l('Cancel')
|
'desc' => $this->l('Cancel')
|
||||||
);
|
);
|
||||||
|
|
||||||
$obj = $this->loadObject();
|
$obj = $this->loadObject(true);
|
||||||
if (Validate::isLoadedObject($obj) && isset($obj->name) && !empty($obj->name))
|
if (Validate::isLoadedObject($obj) && isset($obj->name) && !empty($obj->name))
|
||||||
{
|
{
|
||||||
array_pop($this->toolbar_title);
|
array_pop($this->toolbar_title);
|
||||||
|
|||||||
Reference in New Issue
Block a user