@@ -5587,7 +5587,7 @@ class InvoiceController extends DooController {
);
if(!empty($con)){
- $con=' where '.$con;
+ $con=' where 1 '.$con;
}
$sql = 'select a.iid from CLD_invoiceReceivables as a