bug 13913 : need more testing

This commit is contained in:
sparkyx 2005-07-25 10:08:42 +00:00
parent fc85a57c8b
commit 4cecec39d3

View file

@ -519,15 +519,15 @@ function ViewFicheDetail($p_cn,$p_id) {
*/
function UpdateFiche($p_cn,$p_array) {
echo_debug ("UpdateFiche");
echo_debug (__FILE__,__LINE__,"UpdateFiche");
$tva_error=false;
foreach ( $p_array as $key=> $element) {
echo_debug(__FILE__,__LINE__,"$key => $element");
echo_debug(__FILE__,__LINE__,"UF $key => $element");
${"$key"}=$element;
// Get the name
if ( $key == "ad_id".ATTR_DEF_NAME ) {
$label=$element;
if (strlen(trim($label)== 0 ) )
if (strlen(trim($label))== 0 )
return;
}
// Get the class base