Skip to content
Snippets Groups Projects
Commit 6c55d989 authored by AndyThornton's avatar AndyThornton Committed by Antonio De Marco
Browse files

#205 fixed explode to cope with colons in the name

parent 07287a01
No related branches found
No related tags found
No related merge requests found
......@@ -144,7 +144,7 @@ trait PatternDisplayFormTrait {
unset($settings['pattern_mapping'][$key]);
}
else {
list($plugin, $source) = explode(PatternSourceBase::DERIVATIVE_SEPARATOR, $key);
list($plugin, $source) = explode(PatternSourceBase::DERIVATIVE_SEPARATOR, $key, 2);
$settings['pattern_mapping'][$key]['plugin'] = $plugin;
$settings['pattern_mapping'][$key]['source'] = $source;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment