Error
This commit is contained in:
parent
5ce419922d
commit
7b1976040d
@ -116,7 +116,10 @@ if (is_array($changeaccount) && count($changeaccount) > 0 && $action == $langs->
|
|||||||
$sql1 .= " SET p.accountancy_code_sell=" . $account_number_sell;
|
$sql1 .= " SET p.accountancy_code_sell=" . $account_number_sell;
|
||||||
$sql1 .= ' WHERE p.rowid IN (' . implode(',', $changeaccount) . ')';
|
$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);
|
$resql1 = $db->query($sql1);
|
||||||
if (! $resql1) {
|
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);
|
dol_syslog('accountancy/customer/lines.php::changeaccount product buy sql= ' . $sql1);
|
||||||
|
|
||||||
// Debug
|
|
||||||
// print_r ($sql1);
|
|
||||||
|
|
||||||
$resql1 = $db->query($sql1);
|
$resql1 = $db->query($sql1);
|
||||||
if (! $resql1) {
|
if (! $resql1) {
|
||||||
$error ++;
|
$error ++;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user