Skip to content

Commit

Permalink
Fix: phpunit regression
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed May 7, 2014
1 parent fe43d10 commit 182dd77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htdocs/core/modules/modExpedition.class.php
Expand Up @@ -103,7 +103,7 @@ function __construct($db)
$this->const[$r][3] = "";
$this->const[$r][4] = 0;
$r++;

$this->const[$r][0] = "LIVRAISON_ADDON_PDF";
$this->const[$r][1] = "chaine";
$this->const[$r][2] = "typhon";
Expand Down Expand Up @@ -270,7 +270,7 @@ function init($options='')
$sql = array(
"DELETE FROM ".MAIN_DB_PREFIX."document_model WHERE nom = '".$this->const[0][2]."' AND entity = ".$conf->entity,
"INSERT INTO ".MAIN_DB_PREFIX."document_model (nom, type, entity) VALUES('".$this->const[0][2]."','shipping',".$conf->entity.")",
"DELETE FROM ".MAIN_DB_PREFIX."document_model WHERE nom = '".$this->const[2][2]."' AND entity = ".$conf->entity,
"DELETE FROM ".MAIN_DB_PREFIX."document_model WHERE nom = '".$this->const[3][2]."' AND entity = ".$conf->entity,
"INSERT INTO ".MAIN_DB_PREFIX."document_model (nom, type, entity) VALUES('".$this->const[3][2]."','delivery',".$conf->entity.")",
);

Expand Down

0 comments on commit 182dd77

Please sign in to comment.