fix undefined constant

This commit is contained in:
Mario Vavti
2025-10-21 18:57:15 +02:00
parent c8c9e4a901
commit 040b52a1d5

View File

@@ -17,9 +17,9 @@ use Zotlabs\Lib\Config;
* uninstall plugin on error
*/
function handleerrors_plugin($plugin, $notice, $log, $uninstall = false){
logger("Addons: [" . $plugin . "] Error: ".$log, LOGGER_ERROR);
logger("Addons: [" . $plugin . "] Error: ".$log, LOGGER_NORMAL);
if ($notice != '') {
notice("[" . $plugin . "] Error: ".$notice, LOGGER_ERROR);
notice("[" . $plugin . "] Error: ".$notice);
}
if ($uninstall) {