caipin 5 سال پیش
والد
کامیت
857368fdb8
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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;