From 74cf7212d817211428b58c4f1369c98c6c13e11c Mon Sep 17 00:00:00 2001 From: wlx Date: Sun, 16 Jun 2013 15:28:28 +0000 Subject: [PATCH] fix field error --- application/models/data/Review.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/models/data/Review.php b/application/models/data/Review.php index 87b3e116..6eaae15a 100644 --- a/application/models/data/Review.php +++ b/application/models/data/Review.php @@ -80,7 +80,7 @@ class Review extends Zend_Controller_Plugin_Abstract } if(isset($filter['code']) && !empty($filter['code'])) { - $wheresql[] = " s.id=".$filter['code']." "; + $wheresql[] = " s.sourceid=".$filter['code']." "; } if(count($wheresql)>0)