changes needed for new s() and p() - see bug #2338

This commit is contained in:
skodak
2006-04-14 08:02:32 +00:00
parent 498695122a
commit f8a5159a2b
12 changed files with 22 additions and 14 deletions
+3 -1
View File
@@ -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();