Merge branch 'bugfix-plugin' into 'dev'

Fix wrong variable name in include/plugin.php.

See merge request hubzilla/core!1480
This commit is contained in:
M. Dent 2019-01-19 05:18:35 +01:00
commit 542d21c4e1

View File

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