From 378935a8a92592cf1ef164b4d969c376c46a78c6 Mon Sep 17 00:00:00 2001 From: nveid <nveid@ispconfig3> Date: Fri, 09 Dec 2011 02:35:24 -0500 Subject: [PATCH] Fixed mysql error when switching from "Options" tab to "Ftp User" edit tab, the onUpdate thought we were trying to change the Website because the Options Datalog didn't have the parent_domain_id and the Ftp User tab did. --- interface/web/help/form/faq_sections.tform.php | 36 ++++++++++++++++++------------------ 1 files changed, 18 insertions(+), 18 deletions(-) diff --git a/interface/web/help/form/faq_sections.tform.php b/interface/web/help/form/faq_sections.tform.php index 2e61c38..d849f27 100644 --- a/interface/web/help/form/faq_sections.tform.php +++ b/interface/web/help/form/faq_sections.tform.php @@ -49,26 +49,26 @@ // The form definition of the first tab. The name of the tab is called 'message'. We refer // to this name in the $form['tab_default'] setting above. $form['tabs']['message'] = array( - 'title' => 'FAQ', // Title of the Tab - 'width' => 100, // Tab width - 'template' => 'templates/faq_sections_edit.htm', // Template file name - 'fields' => array( + 'title' => 'FAQ', // Title of the Tab + 'width' => 100, // Tab width + 'template' => 'templates/faq_sections_edit.htm', // Template file name + 'fields' => array( - //*** BEGIN Datatable columns ********************************** + //*** BEGIN Datatable columns ********************************** - 'hfs_name' => array( - 'datatype' => 'VARCHAR', - 'formtype' => 'TEXT', - 'validators' => array( 0 => array( 'type' => 'NOTEMPTY', - 'errmsg'=> 'subject_is_empty' - ), - ), - 'default' => '', - 'value' => '', - 'width' => '30', - 'maxlength' => '255' - ), - //*** END Datatable columns ********************************** + 'hfs_name' => array( + 'datatype' => 'VARCHAR', + 'formtype' => 'TEXT', + 'validators'=> array( 0 => array( 'type' => 'NOTEMPTY', + 'errmsg'=> 'subject_is_empty' + ), + ), + 'default' => '', + 'value' => '', + 'width' => '30', + 'maxlength' => '255' + ), + //*** END Datatable columns ********************************* ) ); ?> -- Gitblit v1.9.1