[-] Class : AdminController - Object id fixed
This commit is contained in:
@@ -803,7 +803,7 @@ class AdminControllerCore extends Controller
|
|||||||
if (empty($this->redirect_after))
|
if (empty($this->redirect_after))
|
||||||
$this->redirect_after = self::$currentIndex.($parent_id ? '&'.$this->identifier.'='.$object->id : '').'&conf=4&token='.$this->token;
|
$this->redirect_after = self::$currentIndex.($parent_id ? '&'.$this->identifier.'='.$object->id : '').'&conf=4&token='.$this->token;
|
||||||
}
|
}
|
||||||
Logger::addLog(sprintf($this->l('%s edition'), $this->className), 1, null, $this->className, (int)$this->object->id, true, (int)$this->context->employee->id);
|
Logger::addLog(sprintf($this->l('%s edition'), $this->className), 1, null, $this->className, (int)$object->id, true, (int)$this->context->employee->id);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
$this->errors[] = Tools::displayError('An error occurred while updating an object.').
|
$this->errors[] = Tools::displayError('An error occurred while updating an object.').
|
||||||
|
|||||||
Reference in New Issue
Block a user