aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/course/wizard.php
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2023-08-29 15:29:26 +0000
committerDavid Siegfried <david.siegfried@uni-vechta.de>2023-08-29 15:29:26 +0000
commit7ebc446999286d42affc5d27ea888dd997a3d95c (patch)
treee1393a88d17fcc74276460604d9ce9998379bdac /app/controllers/course/wizard.php
parentfd375126142decc222c1f61369dc198fb58b7f6e (diff)
prevent php8 warnings, fixes #3106
Closes #3106 Merge request studip/studip!2095
Diffstat (limited to 'app/controllers/course/wizard.php')
-rw-r--r--app/controllers/course/wizard.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/course/wizard.php b/app/controllers/course/wizard.php
index 009e052..636d6eb 100644
--- a/app/controllers/course/wizard.php
+++ b/app/controllers/course/wizard.php
@@ -118,7 +118,7 @@ class Course_WizardController extends AuthenticatedController
$values[$iterator->key()] = $iterator->current();
$iterator->next();
}
- if ($this->steps[$step_number]['classname']) {
+ if (!empty($this->steps[$step_number]['classname'])) {
$this->setStepValues($this->steps[$step_number]['classname'], $values);
}
// Back or forward button clicked -> set next step accordingly.