diff options
Diffstat (limited to '')
-rw-r--r-- | admin/include/functions_plugins.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/include/functions_plugins.inc.php b/admin/include/functions_plugins.inc.php index 652aa7e19..45f3c734c 100644 --- a/admin/include/functions_plugins.inc.php +++ b/admin/include/functions_plugins.inc.php @@ -41,7 +41,7 @@ function get_fs_plugins() and file_exists($path.'/main.inc.php') ) { - $plugin = array('name'=>'?', 'version'=>'0', 'uri'=>'', 'description'=>''); + $plugin = array('name'=>$file, 'version'=>'0', 'uri'=>'', 'description'=>''); $plg_data = implode( '', file($path.'/main.inc.php') ); if ( preg_match("|Plugin Name: (.*)|i", $plg_data, $val) ) |