caipin %!s(int64=5) %!d(string=hai) anos
pai
achega
5588882553
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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