Chargement en cours prix_option/produit.php +4 −2 Numéro de ligne d'origine Numéro de ligne de diff Ligne de diff Chargement en cours @@ -17,6 +17,9 @@ function prix_option_produit_ht($objet, $id_objet, $options, $ligne) { if(isset($options['options'])) { $options = $options['options']; } if(is_string($options)) { $options = explode('|', trim($options, '|')); } static $cache; $hash = md5(json_encode(array($objet, $id_objet, $options, $ligne))); Chargement en cours @@ -24,7 +27,6 @@ function prix_option_produit_ht($objet, $id_objet, $options, $ligne) { return $cache[$hash]; } $options = explode('|',trim($options,'|')); $prix_ht = $ligne['prix_ht']; foreach ($options as $option) { $prix_ht += sql_getfetsel( Chargement en cours Chargement en cours
prix_option/produit.php +4 −2 Numéro de ligne d'origine Numéro de ligne de diff Ligne de diff Chargement en cours @@ -17,6 +17,9 @@ function prix_option_produit_ht($objet, $id_objet, $options, $ligne) { if(isset($options['options'])) { $options = $options['options']; } if(is_string($options)) { $options = explode('|', trim($options, '|')); } static $cache; $hash = md5(json_encode(array($objet, $id_objet, $options, $ligne))); Chargement en cours @@ -24,7 +27,6 @@ function prix_option_produit_ht($objet, $id_objet, $options, $ligne) { return $cache[$hash]; } $options = explode('|',trim($options,'|')); $prix_ht = $ligne['prix_ht']; foreach ($options as $option) { $prix_ht += sql_getfetsel( Chargement en cours