diff --git a/classes/controllers/FrmFormTemplatesController.php b/classes/controllers/FrmFormTemplatesController.php index 7799e7c222..f3648ee868 100644 --- a/classes/controllers/FrmFormTemplatesController.php +++ b/classes/controllers/FrmFormTemplatesController.php @@ -352,7 +352,7 @@ public static function ajax_add_or_remove_favorite() { } // Update the favorite templates option. - update_option( self::FAVORITE_TEMPLATES_OPTION, self::$favorite_templates ); + update_option( self::FAVORITE_TEMPLATES_OPTION, self::$favorite_templates, false ); // Return the updated list of favorite templates. wp_send_json_success( self::$favorite_templates );