summaryrefslogtreecommitdiffstats
path: root/modules-available/exams/inc
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/exams/inc')
-rw-r--r--modules-available/exams/inc/exams.inc.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules-available/exams/inc/exams.inc.php b/modules-available/exams/inc/exams.inc.php
index e95a9392..5fc497c7 100644
--- a/modules-available/exams/inc/exams.inc.php
+++ b/modules-available/exams/inc/exams.inc.php
@@ -11,8 +11,6 @@ class Exams
{
if (!is_array($locationIds)) {
$locationIds = array($locationIds);
- } elseif (empty($locationIds)) {
- return false;
}
$l = str_repeat(',?', count($locationIds));
$res = Database::queryFirst("SELECT lectureid FROM exams"