Bug 19191: Add syspref to control use of email receipts, defaulting to disabled
[srvgit] / authorities / authorities.pl
index 7ffb010..0340277 100755 (executable)
@@ -187,7 +187,7 @@ sub create_input {
     }
     
     $subfield_data{visibility} = "display:none;"
-        if (    ($tagslib->{$tag}->{$subfield}->{hidden} % 2 == 1) and $value ne ''
+        if( $tagslib->{$tag}->{$subfield}->{hidden} and $value ne ''
             or ($value eq '' and !$tagslib->{$tag}->{$subfield}->{mandatory})
         );