enh: modify usergroup column backend

Signed-off-by: Cleopatra Enjeck M <patrathewhiz@gmail.com>
This commit is contained in:
Cleopatra Enjeck M
2024-07-02 22:26:05 +01:00
committed by Julius Härtl
parent 11aa7bca52
commit 62280240b1
5 changed files with 12 additions and 29 deletions

View File

@ -40,7 +40,6 @@ class UsergroupBusiness extends SuperBusiness implements IColumnTypeBusiness {
}
foreach ($value as $v) {
// TODO: maybe check if key exists first
if((array_key_exists('id', $v) && !is_string($v['id'])) && (array_key_exists('type', $v) && !is_int($v['type']))) {
return false;
}