changes needed for new s() and p() - see bug #2338
This commit is contained in:
@@ -41,9 +41,11 @@
|
||||
|
||||
if (empty($form)) {
|
||||
$form = $section;
|
||||
} else {
|
||||
$form = stripslashes_safe($form);
|
||||
}
|
||||
|
||||
$form->sesskey = !empty($USER->id) ? $USER->sesskey : '';
|
||||
// !! no db access using data from $form beyond this point !!
|
||||
|
||||
$usehtmleditor = can_use_html_editor();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user