1
0
mirror of https://github.com/mbirth/tcl_update_db.git synced 2024-09-20 01:03:26 +01:00

Fix: Convert CU Ref to upper case.

This commit is contained in:
Markus Birth 2017-12-17 01:51:46 +01:00
parent 0d75037078
commit b598ed8d0c
Signed by: mbirth
GPG Key ID: A9928D7A098C3A9A

View File

@ -28,7 +28,7 @@ class GotuObject
{ {
return $this->attrs; return $this->attrs;
} }
public static function fromXmlParser(XmlParser $xp) public static function fromXmlParser(XmlParser $xp)
{ {
if (!$xp->validateGOTU()) { if (!$xp->validateGOTU()) {
@ -39,6 +39,7 @@ class GotuObject
if ($attrs['fv'] == 'AAA000') { if ($attrs['fv'] == 'AAA000') {
$attrs['fv'] = null; $attrs['fv'] = null;
} }
$attrs['curef'] = strtoupper($attrs['curef']);
$g->attrs = $attrs; $g->attrs = $attrs;
return $g; return $g;
} }