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:
@@ -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'].'/';
|
||||||
|
Reference in New Issue
Block a user