We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea15b38 commit e64726fCopy full SHA for e64726f
1 file changed
system/modules/multicolumnwizard/MultiColumnWizardHelper.php
@@ -60,9 +60,10 @@ public function changeAjaxPostActions()
60
$strRef = $this->Session->get('filePickerRef');
61
$strRef = substr($strRef, stripos($strRef, 'field=')+6);
62
$arrRef = explode('&', $strRef);
63
- $strField = $arrRef[0];
+ $arrRefField = explode('__', $arrRef[0]);
64
+ $arrField = preg_split('/_row[0-9]*_/i', \Input::post('name'));
65
//change action if modal selector was found
- if (stripos($strField, '__'))
66
+ if (count($arrRefField) > 1 && $arrRefField === $arrField)
67
Input::setPost('action', Input::post('action').'_mcw');
68
break;
69
}
0 commit comments