FIX Invert isSellerInEEC and isBuyerInEEC
This commit is contained in:
parent
bffdc63ec6
commit
782be2ac37
@ -142,13 +142,13 @@ if ($action == 'validatehistory') {
|
|||||||
} else {
|
} else {
|
||||||
$num_lines = $db->num_rows($result);
|
$num_lines = $db->num_rows($result);
|
||||||
|
|
||||||
$isSellerInEEC = isInEEC($mysoc);
|
$isBuyerInEEC = isInEEC($mysoc);
|
||||||
|
|
||||||
$i = 0;
|
$i = 0;
|
||||||
while ($i < min($num_lines, 10000)) { // No more than 10000 at once
|
while ($i < min($num_lines, 10000)) { // No more than 10000 at once
|
||||||
$objp = $db->fetch_object($result);
|
$objp = $db->fetch_object($result);
|
||||||
|
|
||||||
$isBuyerInEEC = isInEEC($objp);
|
$isSellerInEEC = isInEEC($objp);
|
||||||
|
|
||||||
// Search suggested account for product/service
|
// Search suggested account for product/service
|
||||||
$suggestedaccountingaccountfor = '';
|
$suggestedaccountingaccountfor = '';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user