From 26e2bd1f6b008549186ce89726ec55c5024f24dc Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 7 Apr 2017 11:47:24 +0200 Subject: simplify argfunction handling --- lib/Kratos/DFADriver/Model.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Kratos/DFADriver/Model.pm') 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); } -- cgit v1.2.3