[-] BO : FixBug #PSCFV-9044 - Missing state in new order, and now you can edit customer addresses

This commit is contained in:
Jerome Nadaud
2013-10-03 11:06:08 +02:00
parent 4bb4199f5a
commit 43a60f1b57
3 changed files with 32 additions and 5 deletions
+1 -1
View File
@@ -841,7 +841,7 @@ class AdminControllerCore extends Controller
$this->redirect_after = self::$currentIndex.'&'.$this->identifier.'='.$parent_id.'&conf=4&token='.$this->token;
// Default behavior (save and back)
if (empty($this->redirect_after))
if (empty($this->redirect_after) && $this->redirect_after !== false)
$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)$object->id, true, (int)$this->context->employee->id);