File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 861861 $ maincontent .= '<div id="messagecontent" class="field"><label for="message"> ' .s ('Compose Message ' ).Help ('message ' ).'</label> ' ;
862862 $ forwardcontent .= '<div id="messagecontent" class="field"><label for="forwardmessage"> ' .s ('Compose Message ' ).Help ('forwardmessage ' ).'</label> ' ;
863863
864- if (!empty ($ GLOBALS ['editorplugin ' ])) {
864+ if (!empty ($ GLOBALS ['editorplugin ' ]) && ! empty ( $ GLOBALS [ ' plugins ' ][ $ GLOBALS [ ' editorplugin ' ]]) ) {
865865 $ maincontent .= '<div> ' .$ GLOBALS ['plugins ' ][$ GLOBALS ['editorplugin ' ]]->editor ('message ' ,
866866 $ messagedata ['message ' ]).'</div> ' ;
867867 } else {
Original file line number Diff line number Diff line change @@ -331,7 +331,7 @@ function toggletexttemplate(){
331331 <td colspan="2">
332332
333333 <?php
334- if ($ GLOBALS ['editorplugin ' ]) {
334+ if (! empty ( $ GLOBALS ['editorplugin ' ]) && ! empty ( $ GLOBALS [ ' plugins ' ][ $ GLOBALS [ ' editorplugin ' ]]) ) {
335335 echo $ GLOBALS ['plugins ' ][$ GLOBALS ['editorplugin ' ]]->editor ('template ' ,
336336 stripslashes ($ data ['template ' ])).'</div> ' ;
337337 } else {
You can’t perform that action at this time.
0 commit comments