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

fixes #4145

Closes #4145

Merge request studip/studip!2987
parent ba187680
No related branches found
No related tags found
No related merge requests found
......@@ -156,6 +156,7 @@ final class DescribeModels extends AbstractCommand
if (
$options['foreign_key'] !== 'id'
&& !is_callable($options['foreign_key'])
&& isset($meta['fields'][$options['foreign_key']])
&& $meta['fields'][$options['foreign_key']]['null'] === 'YES'
) {
......
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