|
|
|
|
@ -52,6 +52,7 @@ switch ($action) { |
|
|
|
|
$careerId = $_REQUEST['career_id'] ?? 0; |
|
|
|
|
$promotionId = $_REQUEST['promotion_id'] ?? 0; |
|
|
|
|
$subscriptionVisibility = (int) ($_REQUEST['subscription_visibility'] ?? 0); |
|
|
|
|
$subscriptionItemId = isset($_REQUEST['subscription_item']) ? (int) $_REQUEST['subscription_item'] : null; |
|
|
|
|
$maxSubscriptions = (int) ($_REQUEST['max_subscriptions'] ?? 0); |
|
|
|
|
|
|
|
|
|
$reminders = $notificationCount ? array_map(null, $notificationCount, $notificationPeriod) : []; |
|
|
|
|
@ -75,6 +76,7 @@ switch ($action) { |
|
|
|
|
(int) $careerId, |
|
|
|
|
(int) $promotionId, |
|
|
|
|
$subscriptionVisibility, |
|
|
|
|
$subscriptionItemId, |
|
|
|
|
$maxSubscriptions |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
|