Verified Commit 4e6031f7 authored by Felix Eckhofer's avatar Felix Eckhofer 🤹🏼
Browse files

Fix compatibility with php8

Can't believe I'm actually doing this, but... one of the terrible hacks
is deprecated now?
parent c259ff7a
......@@ -244,7 +244,9 @@ for ($i = 0; $i < $width; $i++) {
$values[$i][$j] = mb_strtoupper($_REQUEST[$formfield], 'UTF-8');
}
}
@$values[$i] = array_unique($values[$i]);
if (isset($values) && isset($values[$i])) {
$values[$i] = array_unique($values[$i]);
}
}
$query = '';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment