caipin hace 5 años
padre
commit
857368fdb8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      protected/model/invoiceReceivables.php

+ 1 - 1
protected/model/invoiceReceivables.php

@@ -534,7 +534,7 @@ class invoiceReceivables extends DooModel {
 // 				';
 		
 		if(!empty($con)){
-			$con=' where '.$con;
+			$con=' where 1 '.$con;
 		}
 		
 		$sql='select * from '.$this->_table.' as a '.$con.' ORDER BY '.$descField.' '.$desc.' limit '.$limit;