S:P:MaterialComponents: delete auf $hash{k}, nicht %hash{k}
[kivitendo-erp.git] / SL / Presenter / MaterialComponents.pm
index 7b2a737..30123b7 100644 (file)
@@ -212,7 +212,7 @@ sub input_tag {
 
   _set_id_attribute(\%attributes, $attributes{name});
 
-  my $class = delete %attributes{class};
+  my $class = delete $attributes{class};
   my $icon  = $attributes{icon}
     ? icon(delete $attributes{icon}, class => 'prefix')
     : '';