Skip to content
Snippets Groups Projects
Commit ea05bfba authored by Ere Maijala's avatar Ere Maijala
Browse files

Changed MultiBackend supportsMethod() logic a bit so that if a source cannot...

Changed MultiBackend supportsMethod() logic a bit so that if a source cannot be determined it is assumed that the method is supported.
parent cac7c090
No related merge requests found
......@@ -1173,7 +1173,10 @@ class MultiBackend extends AbstractBase
$source = $this->defaultDriver;
}
if (!$source) {
return false;
// If we can't determine the source, assume we are capable to handle
// the request. This might happen e.g. when the user hasn't yet done
// a catalog login.
return true;
}
$driver = $this->getDriver($source);
......
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