DirectorObjectForm: fix lost pointer issue

This has been a scary one :p

fixes #11409
fixes #11410
This commit is contained in:
Thomas Gelf 2016-03-18 21:16:25 +01:00
parent f7b2ab76b5
commit 65a881ca80
1 changed files with 2 additions and 2 deletions

View File

@ -183,9 +183,9 @@ abstract class DirectorObjectForm extends QuickForm
unset($props['vars']);
}
foreach ($props as $k => & $v) {
foreach ($props as $k => $v) {
if (is_bool($v)) {
$v = $v ? 'y' : 'n';
$props[$k] = $v ? 'y' : 'n';
}
}