This commit is contained in:
Regis Houssin 2006-03-01 17:32:26 +00:00
parent 39f3869c0d
commit 1f30cab2f7
2 changed files with 3 additions and 2 deletions

View File

@ -333,6 +333,7 @@ class Product
$this->description = $obj->description;
$this->note = $obj->note;
}
}
}
else
{
@ -340,7 +341,7 @@ class Product
return -1;
}
}
}
/**

View File

@ -99,7 +99,7 @@ if ($_POST["action"] == 'vedit' &&
$product->fetch($_POST["id"]);
$current_lang = $langs->getDefaultLang();
foreach ( $product->multilangs as $key => &$value ) // enregistrement des nouvelles valeurs dans l'objet
foreach ( $product->multilangs as $key => $value ) // enregistrement des nouvelles valeurs dans l'objet
{
if ( $key == $current_lang )
{