dever 6 éve
szülő
commit
35b73ec213
2 módosított fájl, 2 hozzáadás és 0 törlés
  1. 1 0
      act/database/comment.php
  2. 1 0
      act/lib/Comment.php

+ 1 - 0
act/database/comment.php

@@ -142,6 +142,7 @@ return array
 			'option' => array
 			'option' => array
 			(
 			(
 				'uid' => 'yes',
 				'uid' => 'yes',
+				'type' => array('yes', 'in'),
 				'data_id' => 'yes',
 				'data_id' => 'yes',
 				'type' => 'yes',
 				'type' => 'yes',
 				'state' => 1,
 				'state' => 1,

+ 1 - 0
act/lib/Comment.php

@@ -45,6 +45,7 @@ class Comment
     public function getList($uid)
     public function getList($uid)
     {
     {
         $where['uid'] = $uid;
         $where['uid'] = $uid;
+        $where['type'] = '1,2,3,6';
         $info = Dever::db('act/comment')->getAll($where);
         $info = Dever::db('act/comment')->getAll($where);
 
 
         return $info;
         return $info;