aboutsummaryrefslogtreecommitdiffstats
path: root/includes/htmlform/fields/HTMLCheckMatrix.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/htmlform/fields/HTMLCheckMatrix.php')
-rw-r--r--includes/htmlform/fields/HTMLCheckMatrix.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/htmlform/fields/HTMLCheckMatrix.php b/includes/htmlform/fields/HTMLCheckMatrix.php
index a9eb35e0cbb1..6713a38ffc41 100644
--- a/includes/htmlform/fields/HTMLCheckMatrix.php
+++ b/includes/htmlform/fields/HTMLCheckMatrix.php
@@ -215,9 +215,9 @@ class HTMLCheckMatrix extends HTMLFormField implements HTMLNestedFilterable {
$moreClass = '';
$moreAttributes = [];
- if ( $this->mCondState['class'] ) {
+ if ( $this->mCondState ) {
$moreAttributes['data-cond-state'] = FormatJson::encode( $this->mCondState );
- $moreClass = implode( ' ', $this->mCondState['class'] );
+ $moreClass = implode( ' ', $this->mCondStateClass );
}
$label = $this->getLabelHtml( $cellAttributes );