Skip to content
Snippets Groups Projects
Commit d0d03433 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

re #380

parent cb26115a
No related branches found
No related tags found
No related merge requests found
...@@ -225,7 +225,7 @@ function get_object_type($id, $check_only = []) ...@@ -225,7 +225,7 @@ function get_object_type($id, $check_only = [])
$type = null; $type = null;
foreach ($tests as $query => $types) { foreach ($tests as $query => $types) {
$type = DBManager::get()->fetchColumn($query, [$id]); $type = DBManager::get()->fetchColumn($query, [$id]);
if ($type !== null) { if ($type) {
break; break;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment