1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-29 10:50:25 +02:00

Fix for: '' is missing from the plugin db table message.

This commit is contained in:
Cameron
2017-01-21 08:45:33 -08:00
parent 62a726e274
commit f6925ee4e7

View File

@@ -2839,7 +2839,7 @@ class e107plugin
{ {
if(empty($dir)) if(empty($dir))
{ {
return; return null;
} }
global $sysprefs, $mySQLprefix; global $sysprefs, $mySQLprefix;
@@ -2854,7 +2854,7 @@ class e107plugin
if(!is_array($plug)) if(!is_array($plug))
{ {
return "'{$id}' is missing from the plugin db table"; return "'{$dir}' is missing from the plugin db table";
} }
$_path = e_PLUGIN.$plug['plugin_path'].'/'; $_path = e_PLUGIN.$plug['plugin_path'].'/';