|
@@ -542,11 +542,13 @@ Class Manage
|
|
$where['fend'] = strtotime($fend)+86399;
|
|
$where['fend'] = strtotime($fend)+86399;
|
|
}
|
|
}
|
|
if ($parent_type && $parent_type>0) {
|
|
if ($parent_type && $parent_type>0) {
|
|
|
|
+ if ($parent_type == 2) {
|
|
|
|
+ $parent_type = 3;
|
|
|
|
+ }
|
|
$where['parent_type'] = $parent_type;
|
|
$where['parent_type'] = $parent_type;
|
|
} else {
|
|
} else {
|
|
- $where['parent_type'] = '1,3';
|
|
|
|
|
|
+ $where['parent_type'] = '1,2,3';
|
|
}
|
|
}
|
|
-
|
|
|
|
if ($name) {
|
|
if ($name) {
|
|
$where['name'] = $name;
|
|
$where['name'] = $name;
|
|
}
|
|
}
|