Update product.php

This commit is contained in:
noec764 2022-03-01 16:17:32 +01:00 committed by GitHub
parent 035bc32323
commit f1af7ca2f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -163,7 +163,7 @@ if ($action == 'other')
$sql_test = "SELECT count(packaging) as cpt FROM ".MAIN_DB_PREFIX."product_fournisseur_price WHERE 1";
$resql = $db->query($sql_test);
if ($resql) // if the field does not exist, we create it
if ($resql < 0)
{
dol_syslog( $db->lasterrno(),LOG_ERR);
}