|
@@ -48,7 +48,7 @@ class Manage
|
|
|
if ($data && $data['type_id']) {
|
|
|
$config['type_id']['update_search_value'] = $data['type_id'];
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
$func = Dever::db('page/func')->find($value);
|
|
|
if ($func && $func['col']) {
|
|
|
$func['col'] = Dever::array_decode($func['col']);
|
|
@@ -119,7 +119,7 @@ class Manage
|
|
|
if ($info) {
|
|
|
$func['col'] = Dever::json_decode($func['col']);
|
|
|
foreach ($func['col'] as $k => $v) {
|
|
|
- if ($v['col_id'] == $col) {
|
|
|
+ if ($v['col_id'] == $col && isset($info[$v['name']])) {
|
|
|
return $info[$v['name']];
|
|
|
}
|
|
|
}
|