diff --git a/modules/ant_resetbopassword/ant_resetbopassword.php b/modules/ant_resetbopassword/ant_resetbopassword.php index 60c4a7a7..4a8d4189 100644 --- a/modules/ant_resetbopassword/ant_resetbopassword.php +++ b/modules/ant_resetbopassword/ant_resetbopassword.php @@ -2,7 +2,12 @@ if (!defined('_PS_VERSION_')) exit; -require_once(PS_ADMIN_DIR . '/helpers/HelperFormBootstrap.php'); +if (defined('PS_ADMIN_DIR')) +{ + require_once(PS_ADMIN_DIR . '/helpers/HelperFormBootstrap.php'); +} else { + require_once(realpath(dirname(__FILE__) .'/../../').'/adm/helpers/HelperFormBootstrap.php'); +} class Ant_Resetbopassword extends Module { diff --git a/modules/privatesales/AdminPrivateSalesSales.php b/modules/privatesales/AdminPrivateSalesSales.php index d9bcba83..269d2e94 100755 --- a/modules/privatesales/AdminPrivateSalesSales.php +++ b/modules/privatesales/AdminPrivateSalesSales.php @@ -568,7 +568,7 @@ class AdminPrivateSalesSales extends AdminTab { array( 'label' => $this->l('Livraison spécifique'), 'value' => 9, - 'selected' => ($this->cursale!==NULL && $this->cursale->delivery_delay== 8?true:false) + 'selected' => ($this->cursale!==NULL && $this->cursale->delivery_delay== 9?true:false) ), ); // Delivery delay