|
@@ -116,6 +116,8 @@ class Content extends Core
|
|
|
$config = Dever::db('main/config')->one();
|
|
|
if (isset($config['video']) && $config['video'] == 2) {
|
|
|
$where['type_no'] = 2;
|
|
|
+ } elseif (isset($config['version']) && Dever::input('version') && $config['version'] == Dever::input('version')) {
|
|
|
+ $where['type_no'] = 2;
|
|
|
}
|
|
|
|
|
|
$data = Dever::db('audit/data')->getAll($where);
|