@@ -714,16 +714,18 @@ public static function saveBuilderSettings($info)
714
714
}
715
715
716
716
try {
717
+
717
718
if (empty ($ published_form_id )) {
718
719
$ list_order = self ::getNextPublishedFormOrder ($ info ["form_id " ]);
719
720
720
721
$ db ->query ("
721
722
INSERT INTO {PREFIX}module_form_builder_forms (is_online, is_published, form_id, view_id,
722
723
set_id, filename, folder_path, folder_url, include_review_page, include_thanks_page_in_nav,
723
- thankyou_page_content, form_offline_page_content, review_page_title, thankyou_page_title, list_order)
724
+ thankyou_page_content, form_offline_page_content, review_page_title, thankyou_page_title, list_order,
725
+ offline_date)
724
726
VALUES (:is_online, :is_published, :form_id, :view_id, :set_id, :filename, :folder_path, :folder_url,
725
727
:include_review_page, :include_thanks_page_in_nav, :thankyou_page_content, :form_offline_page_content,
726
- :review_page_title, :thankyou_page_title, :list_order)
728
+ :review_page_title, :thankyou_page_title, :list_order, :offline_date )
727
729
" );
728
730
$ db ->bindAll (array (
729
731
"is_online " => $ is_online ,
@@ -740,7 +742,8 @@ public static function saveBuilderSettings($info)
740
742
"form_offline_page_content " => $ info ["form_offline_page_content " ],
741
743
"review_page_title " => $ info ["review_page_title " ],
742
744
"thankyou_page_title " => $ info ["thankyou_page_title " ],
743
- "list_order " => $ list_order
745
+ "list_order " => $ list_order ,
746
+ "offline_date " => $ offline_date
744
747
));
745
748
$ db ->execute ();
746
749
$ published_form_id = $ db ->getInsertId ();
0 commit comments