Fixing typo
This commit is contained in:
parent
86abc4e667
commit
9f245f4163
|
@ -347,7 +347,7 @@ function var_reset($name, \mtgType $type, $default = null)
|
|||
foreach($default as $k => $v)
|
||||
{
|
||||
$kf = $type->getField($k);
|
||||
$str .= var_reset("$name." . $kf->name, $kf->getType(), $v);
|
||||
$str .= var_reset("$name." . $kf->getName(), $kf->getType(), $v);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue