Skip to content
Snippets Groups Projects
Commit 7b197604 authored by aspangaro's avatar aspangaro
Browse files

Error

parent 5ce41992
No related branches found
No related tags found
No related merge requests found
......@@ -116,7 +116,10 @@ if (is_array($changeaccount) && count($changeaccount) > 0 && $action == $langs->
$sql1 .= " SET p.accountancy_code_sell=" . $account_number_sell;
$sql1 .= ' WHERE p.rowid IN (' . implode(',', $changeaccount) . ')';
dol_syslog('accountancy/customer/lines.php::changeaccount product sell sql= ' . $sql1);
// Debug
// print_r ($sql1);
dol_syslog('accountancy/customer/lines.php::changeaccount product sell sql= ' . $sql1);
$resql1 = $db->query($sql1);
if (! $resql1) {
......@@ -147,9 +150,6 @@ if (is_array($changeaccount) && count($changeaccount) > 0 && $action == $langs->
dol_syslog('accountancy/customer/lines.php::changeaccount product buy sql= ' . $sql1);
// Debug
// print_r ($sql1);
$resql1 = $db->query($sql1);
if (! $resql1) {
$error ++;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment