Merge branch 'development' of https://github.com/PrestaShop/PrestaShop into development
This commit is contained in:
@@ -803,7 +803,7 @@ class AdminControllerCore extends Controller
|
||||
if (empty($this->redirect_after))
|
||||
$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
|
||||
$this->errors[] = Tools::displayError('An error occurred while updating an object.').
|
||||
@@ -3013,4 +3013,4 @@ class AdminControllerCore extends Controller
|
||||
|
||||
return $return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,8 +25,6 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* This class is currently only here for tests
|
||||
*
|
||||
* @since 1.5.0
|
||||
*/
|
||||
class DbPDOCore extends Db
|
||||
|
||||
@@ -375,6 +375,7 @@ class AdminImagesControllerCore extends AdminController
|
||||
|| !Configuration::updateValue('PS_PNG_QUALITY', Tools::getValue('PS_PNG_QUALITY')))
|
||||
$this->errors[] = Tools::displayError('Unknown error.');
|
||||
else
|
||||
$this->confirmations[] = $this->_conf[6];
|
||||
return parent::postProcess();
|
||||
}
|
||||
else
|
||||
|
||||
@@ -511,7 +511,7 @@ class AdminManufacturersControllerCore extends AdminController
|
||||
$this->fields_value = array(
|
||||
'name' => Manufacturer::getNameById($address->id_manufacturer),
|
||||
'alias' => 'manufacturer',
|
||||
'id_country' => Configuration::get('PS_COUNTRY_DEFAULT')
|
||||
'id_country' => $address->id_country
|
||||
);
|
||||
|
||||
$this->initToolbar();
|
||||
@@ -671,6 +671,8 @@ class AdminManufacturersControllerCore extends AdminController
|
||||
|
||||
if (Tools::isSubmit('editaddresses'))
|
||||
$this->display = 'editaddresses';
|
||||
else if (Tools::isSubmit('updateaddress'))
|
||||
$this->display = 'editaddresses';
|
||||
else if (Tools::isSubmit('addaddress'))
|
||||
$this->display = 'addaddress';
|
||||
else if (Tools::isSubmit('submitAddaddress'))
|
||||
|
||||
Reference in New Issue
Block a user