diff --git a/application/service/PluginsService.php b/application/service/PluginsService.php index 657d0c30c..7e3774b91 100755 --- a/application/service/PluginsService.php +++ b/application/service/PluginsService.php @@ -72,7 +72,7 @@ class PluginsService { foreach($data as $k=>$v) { - if(is_string($v) && !empty($v)) + if(!empty($v) && !is_array($v) && !is_object($v)) { $ext = strrchr(substr($v, -6), '.'); if($ext !== false)