Your Name 3 år sedan
förälder
incheckning
fca0404ab2
1 ändrade filer med 8 tillägg och 0 borttagningar
  1. 8 0
      tool/clue/lib/Info.php

+ 8 - 0
tool/clue/lib/Info.php

@@ -90,6 +90,10 @@ Class Info
 					$where['type'] = 3;
 					$where['type'] = 3;
 				} elseif ($where['status_id'] == 7) {
 				} elseif ($where['status_id'] == 7) {
 					$where['type'] = 6;
 					$where['type'] = 6;
+				} elseif($where['status_id'] == 5) {
+					$where['type'] = 4;
+				} elseif ($where['status_id'] == 6) {
+					$where['type'] = 5;
 				}
 				}
 			}
 			}
 			$where['follow'] = $follow;
 			$where['follow'] = $follow;
@@ -121,6 +125,10 @@ Class Info
 					$where['type'] = 3;
 					$where['type'] = 3;
 				} elseif ($where['status_id'] == 7) {
 				} elseif ($where['status_id'] == 7) {
 					$where['type'] = 6;
 					$where['type'] = 6;
+				} elseif($where['status_id'] == 5) {
+					$where['type'] = 4;
+				} elseif ($where['status_id'] == 6) {
+					$where['type'] = 5;
 				}
 				}
 				$auth = Dever::load("manage/auth.info");
 				$auth = Dever::load("manage/auth.info");
 				$admin_group = Dever::db('manage/admin_group')->all(array('admin_id'=>$auth['id']));
 				$admin_group = Dever::db('manage/admin_group')->all(array('admin_id'=>$auth['id']));