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)