@@ -714,16 +714,18 @@ public static function saveBuilderSettings($info)
714714 }
715715
716716 try {
717+
717718 if (empty ($ published_form_id )) {
718719 $ list_order = self ::getNextPublishedFormOrder ($ info ["form_id " ]);
719720
720721 $ db ->query ("
721722 INSERT INTO {PREFIX}module_form_builder_forms (is_online, is_published, form_id, view_id,
722723 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)
724726 VALUES (:is_online, :is_published, :form_id, :view_id, :set_id, :filename, :folder_path, :folder_url,
725727 :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 )
727729 " );
728730 $ db ->bindAll (array (
729731 "is_online " => $ is_online ,
@@ -740,7 +742,8 @@ public static function saveBuilderSettings($info)
740742 "form_offline_page_content " => $ info ["form_offline_page_content " ],
741743 "review_page_title " => $ info ["review_page_title " ],
742744 "thankyou_page_title " => $ info ["thankyou_page_title " ],
743- "list_order " => $ list_order
745+ "list_order " => $ list_order ,
746+ "offline_date " => $ offline_date
744747 ));
745748 $ db ->execute ();
746749 $ published_form_id = $ db ->getInsertId ();
0 commit comments