diff options
author | Daniel Friesel <derf@finalrewind.org> | 2017-04-07 11:47:24 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2017-04-07 11:47:24 +0200 |
commit | 26e2bd1f6b008549186ce89726ec55c5024f24dc (patch) | |
tree | 41d7102c62235b2248d2cfcb07864ab518e321c9 /lib/Kratos/DFADriver/Model.pm | |
parent | 83549eb94e055d02002bf6c46a25d0ad0aed24c7 (diff) |
simplify argfunction handling
Diffstat (limited to 'lib/Kratos/DFADriver/Model.pm')
-rw-r--r-- | lib/Kratos/DFADriver/Model.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Kratos/DFADriver/Model.pm b/lib/Kratos/DFADriver/Model.pm index ff5757f..cb29f33 100644 --- a/lib/Kratos/DFADriver/Model.pm +++ b/lib/Kratos/DFADriver/Model.pm @@ -184,7 +184,7 @@ sub reset_property { } for my $function_parent ($property_node->findnodes('./function')) { for my $function_node ($function_parent->childNodes) { - if ($function_node->nodeName eq 'user') { + if ($function_node->nodeName eq 'user' or $function_node->nodeName eq 'user_arg') { for my $attrnode ($function_node->attributes) { $attrnode->setValue(1); } |