From f6925ee4e74f7ff59d570371e89f73e8cf904262 Mon Sep 17 00:00:00 2001 From: Cameron Date: Sat, 21 Jan 2017 08:45:33 -0800 Subject: [PATCH] Fix for: '' is missing from the plugin db table message. --- e107_handlers/plugin_class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e107_handlers/plugin_class.php b/e107_handlers/plugin_class.php index 79b4b870a..8a848e986 100644 --- a/e107_handlers/plugin_class.php +++ b/e107_handlers/plugin_class.php @@ -2839,7 +2839,7 @@ class e107plugin { if(empty($dir)) { - return; + return null; } global $sysprefs, $mySQLprefix; @@ -2854,7 +2854,7 @@ class e107plugin 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'].'/';