diff options
Diffstat (limited to 'includes/htmlform/HTMLFormField.php')
-rw-r--r-- | includes/htmlform/HTMLFormField.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/htmlform/HTMLFormField.php b/includes/htmlform/HTMLFormField.php index c74ab1ac62a5..e35ccbeecdca 100644 --- a/includes/htmlform/HTMLFormField.php +++ b/includes/htmlform/HTMLFormField.php @@ -258,7 +258,7 @@ abstract class HTMLFormField { case 'NOR': foreach ( $params as $i => $p ) { if ( !is_array( $p ) ) { - $type = gettype( $p ); + $type = get_debug_type( $p ); throw $makeException( "Expected array, found $type at index $i" ); } $this->validateCondState( $p ); |