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;