From 274b49bd810a44faae5c1594d073381fb26fdcb6 Mon Sep 17 00:00:00 2001 From: Damien Metzger Date: Tue, 16 Jul 2013 10:19:18 +0200 Subject: [PATCH] // Fixed typo --- controllers/admin/AdminCarrierWizardController.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/controllers/admin/AdminCarrierWizardController.php b/controllers/admin/AdminCarrierWizardController.php index b8e824c18..b8fcf7240 100644 --- a/controllers/admin/AdminCarrierWizardController.php +++ b/controllers/admin/AdminCarrierWizardController.php @@ -26,8 +26,6 @@ class AdminCarrierWizardControllerCore extends AdminController { - - public function __construct() { $this->display = 'view'; @@ -112,7 +110,7 @@ class AdminCarrierWizardControllerCore extends AdminController ); if (Shop::isFeatureActive()) - array_splice($this->tpl_view_vars['wizard_contents']['contents'], 1, 0, array(0 => $this->renderStepTow($carrier))); + array_splice($this->tpl_view_vars['wizard_contents']['contents'], 1, 0, array(0 => $this->renderStepTwo($carrier))); return parent::renderView(); } @@ -194,7 +192,7 @@ class AdminCarrierWizardControllerCore extends AdminController return $this->renderGenericForm(array('form' => $this->fields_form), $fields_value); } - public function renderStepTow($carrier) + public function renderStepTwo($carrier) { $this->fields_form = array( 'form' => array( @@ -210,7 +208,7 @@ class AdminCarrierWizardControllerCore extends AdminController ), )) ); - $fields_value = $this->getStepTowFieldsValues($carrier); + $fields_value = $this->getStepTwoFieldsValues($carrier); return $this->renderGenericForm(array('form' => $this->fields_form), $fields_value); } @@ -468,7 +466,7 @@ class AdminCarrierWizardControllerCore extends AdminController ); } - public function getStepTowFieldsValues($carrier) + public function getStepTwoFieldsValues($carrier) { return array('shop' => $this->getFieldValue($carrier, 'shop'));