mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
IcingaObject: be strict on relations
This commit is contained in:
parent
57656f8dd9
commit
5c0ea2c3b0
@ -1531,6 +1531,8 @@ abstract class IcingaObject extends DbObject implements IcingaConfigRenderer
|
|||||||
}
|
}
|
||||||
|
|
||||||
$k = $relKey;
|
$k = $relKey;
|
||||||
|
} else {
|
||||||
|
throw new ProgrammingError('No such relation: %s', $relKey);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user