// BugFix : Missing params multilang
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11486 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
7b9a76f748
commit
847883c387
3 files changed
+2
-8
No files matched your search
@@ -606,7 +606,7 @@ class AdminControllerCore extends Controller
|
|||||||
$parent_id = (int)Tools::getValue('id_parent', 1);
|
$parent_id = (int)Tools::getValue('id_parent', 1);
|
||||||
$this->afterAdd($object);
|
$this->afterAdd($object);
|
||||||
$this->updateAssoShop($object->id);
|
$this->updateAssoShop($object->id);
|
||||||
// d($object);
|
|
||||||
// Save and stay on same form
|
// Save and stay on same form
|
||||||
if (Tools::isSubmit('submitAdd'.$this->table.'AndStay'))
|
if (Tools::isSubmit('submitAdd'.$this->table.'AndStay'))
|
||||||
$this->redirect_after = self::$currentIndex.'&'.$this->identifier.'='.$object->id.'&conf=3&update'.$this->table.'&token='.$token;
|
$this->redirect_after = self::$currentIndex.'&'.$this->identifier.'='.$object->id.'&conf=3&update'.$this->table.'&token='.$token;
|
||||||
|
|||||||
@@ -37,6 +37,7 @@ class FeatureCore extends ObjectModel
|
|||||||
public static $definition = array(
|
public static $definition = array(
|
||||||
'table' => 'feature',
|
'table' => 'feature',
|
||||||
'primary' => 'id_feature',
|
'primary' => 'id_feature',
|
||||||
|
'multilang' => true,
|
||||||
'fields' => array(
|
'fields' => array(
|
||||||
'position' => array('type' => self::TYPE_INT, 'validate' => 'isInt'),
|
'position' => array('type' => self::TYPE_INT, 'validate' => 'isInt'),
|
||||||
|
|
||||||
|
|||||||
@@ -340,13 +340,6 @@ class HookCore extends ObjectModel
|
|||||||
<a class="exclusive" href="#">Add a module</a></div>--><div id="'.$hook_name.'" class="dndHook" style="min-height:50px">' : '').$output.($live_edit ? '</div>' : '');
|
<a class="exclusive" href="#">Add a module</a></div>--><div id="'.$hook_name.'" class="dndHook" style="min-height:50px">' : '').$output.($live_edit ? '</div>' : '');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public static function updateOrderStatus($newOrderStatusId, $id_order)
|
public static function updateOrderStatus($newOrderStatusId, $id_order)
|
||||||
{
|
{
|
||||||
$order = new Order((int)($id_order));
|
$order = new Order((int)($id_order));
|
||||||
|
|||||||
Reference in new issue
Block a user