diff --git a/config.php b/config.php index 42a007f4f6a..a9647993d95 100644 --- a/config.php +++ b/config.php @@ -576,7 +576,7 @@ // STIC Custom 20231124 JBL - SemVer in SinergiaCRM // STIC#1319 - 'sinergiacrm_version' => '1.6.1', + 'sinergiacrm_version' => '1.6.2', 'js_custom_version' => 8, 'stic_show_update_alert' => 0, // END STIC diff --git a/modules/stic_Work_Calendar/Utils.php b/modules/stic_Work_Calendar/Utils.php index 5e465d24651..aced1ff6a96 100644 --- a/modules/stic_Work_Calendar/Utils.php +++ b/modules/stic_Work_Calendar/Utils.php @@ -109,7 +109,7 @@ public static function createPeriodicWorkCalendarRecords() // Get the data from the smarty template $repeat_type = $_REQUEST['repeat_type'] ?: 'Daily' ; $interval = $_REQUEST['repeat_interval'] ?: '1'; - $count = $_REQUEST['repeat_count'] ?: '1'; + $count = $_REQUEST['repeat_count']; $until = $_REQUEST['repeat_until']; $type = $_REQUEST['type']; $startDay = $_REQUEST['repeat_start_day'];