mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 10:49:10 -04:00
Big Calendar/Schedule update
This commit is contained in:
@@ -107,7 +107,7 @@ class ComplementaryActivityController extends Controller
|
||||
$activity->begin_time = request('begin_time');
|
||||
$activity->end_time = request('end_time');
|
||||
$activity->location = request('location');
|
||||
if(request('is_mandatory') == 'on')
|
||||
if(request('is_mandatory') == 'true')
|
||||
{
|
||||
$activity->is_mandatory = true;
|
||||
}
|
||||
@@ -115,7 +115,7 @@ class ComplementaryActivityController extends Controller
|
||||
{
|
||||
$activity->is_mandatory = false;
|
||||
}
|
||||
if(request('is_promoted') == 'on')
|
||||
if(request('is_promoted') == 'true')
|
||||
{
|
||||
$activity->is_promoted = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user