File tree 1 file changed +1
-1
lines changed
1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -883,7 +883,7 @@ function renderFormElement(
883
883
global $ _lang ;
884
884
global $ ResourceManagerLoaded ;
885
885
global $ content , $ which_editor ;
886
- if (!$ ResourceManagerLoaded && !(($ content ['richtext ' ] == 1 || $ modx ->getManagerApi ()->action == 4 ) && $ modx ->getConfig ('use_editor ' ) && $ which_editor == 3 )) {
886
+ if (!$ ResourceManagerLoaded && !((( isset ( $ content ['richtext ' ]) && $ content [ ' richtext ' ] == 1 ) || $ modx ->getManagerApi ()->action == 4 ) && $ modx ->getConfig ('use_editor ' ) && $ which_editor == 3 )) {
887
887
$ ResourceManagerLoaded = true ;
888
888
}
889
889
$ field_html .= '<input type="text" id="tv ' . $ field_id . '" name="tv ' . $ field_id . '" value=" ' . $ field_value . '" ' . $ field_style . ' onchange="documentDirty=true;" /><input type="button" value=" ' . $ _lang ['insert ' ] . '" onclick="BrowseFileServer( \'tv ' . $ field_id . '\')" /> ' ;
You can’t perform that action at this time.
0 commit comments