Fix warning

This commit is contained in:
Laurent Destailleur
2022-12-28 16:40:03 +01:00
parent fc8c3c8980
commit c886bad8b6
30 changed files with 81 additions and 73 deletions

View File

@@ -1301,7 +1301,7 @@ function get_next_value($db, $mask, $table, $field, $where = '', $objsoc = '', $
}
//print $sql.'<br>';
dol_syslog("functions2::get_next_value mode=".$mode."", LOG_DEBUG);
dol_syslog("functions2::get_next_value mode=".$mode, LOG_DEBUG);
$resql = $db->query($sql);
if ($resql) {
$obj = $db->fetch_object($resql);
@@ -1360,7 +1360,7 @@ function get_next_value($db, $mask, $table, $field, $where = '', $objsoc = '', $
$sql .= " AND ".$sqlwhere;
}
dol_syslog("functions2::get_next_value mode=".$mode."", LOG_DEBUG);
dol_syslog("functions2::get_next_value mode=".$mode, LOG_DEBUG);
$resql = $db->query($sql);
if ($resql) {
$obj = $db->fetch_object($resql);