DirectorObjectForm: fix lost pointer issue
This has been a scary one :p fixes #11409 fixes #11410
This commit is contained in:
parent
f7b2ab76b5
commit
65a881ca80
|
@ -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';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue