rabin 7 年 前
コミット
606922c96d
1 ファイル変更1 行追加1 行削除
  1. 1 1
      comment/src/Review.php

+ 1 - 1
comment/src/Review.php

@@ -19,7 +19,7 @@ class Review extends Base
         $source_id = Dever::input('id');
 
         $data = Dever::load('comment/review-getAll', array('option_info_id' => $this->data['info']['id'], 'option_source_table' => $source_table, 'option_source_id' => $source_id));
-
+        $this->data['review'] = array();
         if ($data) {
             foreach ($data as $k => $v) {
                 $v['cdate'] = date('Y-m-d H:i', $v['cdate']);