diff options
author | Dirk Riestere | 2017-03-26 22:18:35 +0200 |
---|---|---|
committer | Dirk Riestere | 2017-03-26 22:18:35 +0200 |
commit | 533a1e33716950b2632bc31e966c48be8a013264 (patch) | |
tree | 44f6f743c5325f419ac0d3f9fd8a4bbc97ab12bb /modules-available/locationinfo/inc/coursebackend/coursebackend_hisinone.inc.php | |
parent | Openingtimes: Fixed a bug where when a field was not filles it caused errors. (diff) | |
download | slx-admin-533a1e33716950b2632bc31e966c48be8a013264.tar.gz slx-admin-533a1e33716950b2632bc31e966c48be8a013264.tar.xz slx-admin-533a1e33716950b2632bc31e966c48be8a013264.zip |
Bug das eine HisInOne Anfrage gestartet wird obwohl kein Shedule aktualisiert werden muss ist behoben
Diffstat (limited to 'modules-available/locationinfo/inc/coursebackend/coursebackend_hisinone.inc.php')
-rw-r--r-- | modules-available/locationinfo/inc/coursebackend/coursebackend_hisinone.inc.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/modules-available/locationinfo/inc/coursebackend/coursebackend_hisinone.inc.php b/modules-available/locationinfo/inc/coursebackend/coursebackend_hisinone.inc.php index 61d50938..4333f0a8 100644 --- a/modules-available/locationinfo/inc/coursebackend/coursebackend_hisinone.inc.php +++ b/modules-available/locationinfo/inc/coursebackend/coursebackend_hisinone.inc.php @@ -200,7 +200,7 @@ class CourseBackend_HisInOne extends CourseBackend public function getCacheTime() { - return 30 * 60; + return 30* 60; } @@ -229,7 +229,9 @@ class CourseBackend_HisInOne extends CourseBackend { if (empty($param)) { $this->error = true; - $this->errormsg = 'No roomid was given'; + $this->errormsg = 'Internal Error HisInOne'; + error_log('No roomId was given in HisInOne fetchShedule'); + return false; } $tTables = []; //get all eventIDs in a given room |