diff --git a/src/application/models/Admins_model.php b/src/application/models/Admins_model.php
index 0c371016..c2251b04 100644
--- a/src/application/models/Admins_model.php
+++ b/src/application/models/Admins_model.php
@@ -228,7 +228,7 @@ class Admins_Model extends CI_Model {
// Validate calendar view mode.
if (isset($admin['settings']['calendar_view']) && ($admin['settings']['calendar_view'] !== CALENDAR_VIEW_DEFAULT
- || $admin['settings']['calendar_view'] !== CALENDAR_VIEW_TABLE)) {
+ && $admin['settings']['calendar_view'] !== CALENDAR_VIEW_TABLE)) {
throw new Exception('The calendar view setting must be either "' . CALENDAR_VIEW_DEFAULT
. '" or "' . CALENDAR_VIEW_TABLE . '", given: ' . $admin['settings']['calendar_view']);
}
diff --git a/src/application/models/Providers_model.php b/src/application/models/Providers_model.php
index b11271a8..ad32717a 100644
--- a/src/application/models/Providers_model.php
+++ b/src/application/models/Providers_model.php
@@ -260,7 +260,7 @@ class Providers_Model extends CI_Model {
// Validate calendar view mode.
if (isset($provider['settings']['calendar_view']) && ($provider['settings']['calendar_view'] !== CALENDAR_VIEW_DEFAULT
- || $provider['settings']['calendar_view'] !== CALENDAR_VIEW_TABLE)) {
+ && $provider['settings']['calendar_view'] !== CALENDAR_VIEW_TABLE)) {
throw new Exception('The calendar view setting must be either "' . CALENDAR_VIEW_DEFAULT
. '" or "' . CALENDAR_VIEW_TABLE . '", given: ' . $provider['settings']['calendar_view']);
}
diff --git a/src/application/models/Secretaries_model.php b/src/application/models/Secretaries_model.php
index 802a9bfd..5f019ab7 100644
--- a/src/application/models/Secretaries_model.php
+++ b/src/application/models/Secretaries_model.php
@@ -226,7 +226,7 @@ class Secretaries_Model extends CI_Model {
// Validate calendar view mode.
if (isset($secretary['settings']['calendar_view']) && ($secretary['settings']['calendar_view'] !== CALENDAR_VIEW_DEFAULT
- || $secretary['settings']['calendar_view'] !== CALENDAR_VIEW_TABLE)) {
+ && $secretary['settings']['calendar_view'] !== CALENDAR_VIEW_TABLE)) {
throw new Exception('The calendar view setting must be either "' . CALENDAR_VIEW_DEFAULT
. '" or "' . CALENDAR_VIEW_TABLE . '", given: ' . $secretary['settings']['calendar_view']);
}
diff --git a/src/application/views/backend/settings.php b/src/application/views/backend/settings.php
index da99dd1e..18a16a57 100644
--- a/src/application/views/backend/settings.php
+++ b/src/application/views/backend/settings.php
@@ -415,6 +415,14 @@
+
+
+
+
+