Fixing typo

This commit is contained in:
Pavel Shevaev 2023-04-13 20:22:05 +03:00
parent 86abc4e667
commit 35a6aa092a
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}
}