caipin 5 years atrás
parent
commit
5588882553
1 changed files with 1 additions and 1 deletions
  1. 1 1
      protected/controller/InvoiceController.php

+ 1 - 1
protected/controller/InvoiceController.php

@@ -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