Skip to content
Snippets Groups Projects
Commit 01c885e8 authored by Demian Katz's avatar Demian Katz
Browse files

Prevent PHP notice.

parent 48d52408
Branches
Tags
No related merge requests found
......@@ -130,9 +130,11 @@ class MultiAuth extends AbstractBase
public function setConfig($config)
{
parent::setConfig($config);
$this->methods = array_map(
'trim', explode(',', $config->MultiAuth->method_order)
);
if (isset($config->MultiAuth->method_order)) {
$this->methods = array_map(
'trim', explode(',', $config->MultiAuth->method_order)
);
}
if (isset($config->MultiAuth->filters)
&& strlen($config->MultiAuth->filters)
) {
......
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