Fix wrong variable name in include/plugin.php.

This commit is contained in:
Klaus Weidenbach 2019-01-19 00:28:01 +01:00
parent f2d7c4091a
commit 90a62405ca

View File

@ -213,7 +213,7 @@ function reload_plugins() {
try { try {
$func(); $func();
} catch (Exception $e) { } catch (Exception $e) {
handleerrors_plugin($plugin,"","UNLOAD FAILED (uninstalling) : ".$e->getMessage(),true); handleerrors_plugin($pl, '', 'UNLOAD FAILED (uninstalling) : ' . $e->getMessage(),true);
continue; continue;
} }
} }
@ -222,7 +222,7 @@ function reload_plugins() {
try { try {
$func(); $func();
} catch (Exception $e) { } catch (Exception $e) {
handleerrors_plugin($plugin,"","LOAD FAILED (uninstalling): ".$e->getMessage(),true); handleerrors_plugin($pl, '', 'LOAD FAILED (uninstalling): ' . $e->getMessage(),true);
continue; continue;
} }
} }