Commit c8fd16d5 authored by Matthias Adrowski's avatar Matthias Adrowski
Browse files

[TASK] Fix 8.1 error

parent 8ff0af04
......@@ -163,7 +163,12 @@ class PluginController extends AbstractPlugin {
$content = $exception->getMessage();
}
$this->prefixId = $this->pluginConfiguration['classPrefix'] . 'plugin1';
if(isset($this->pluginConfiguration['classPrefix'] )) {
$this->prefixId = $this->pluginConfiguration['classPrefix'] . 'plugin1';
}
else {
$this->prefixId = 'plugin1';
}
return $this->pi_wrapInBaseClass($content);
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment