X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/recherche.php?a=blobdiff_plain;f=includes%2Fhtmlform%2FHTMLForm.php;h=5fda7bd62ae041a7ff590b084b72f61edccee00d;hb=38d59dd21347dc5167fbef94a0558f6bbdcd4195;hp=c810f68d0030b6c5ed64021526440672237d6241;hpb=aad7dad56482567b7848fd70f5912b9f110bb007;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/htmlform/HTMLForm.php b/includes/htmlform/HTMLForm.php index c810f68d00..5fda7bd62a 100644 --- a/includes/htmlform/HTMLForm.php +++ b/includes/htmlform/HTMLForm.php @@ -473,6 +473,9 @@ class HTMLForm extends ContextSource { if ( !empty( $field->mParams['nodata'] ) ) { continue; } + if ( $field->isHidden( $this->mFieldData ) ) { + continue; + } if ( $field->validate( $this->mFieldData[$fieldname], $this->mFieldData )