From 20bd24a5100a437e78378c966feb24386a291179 Mon Sep 17 00:00:00 2001 From: Mohammad Zubair Ali Date: Thu, 22 Aug 2024 17:14:53 +0530 Subject: [PATCH] update changelog 9.1.2 --- mlw_quizmaster2.php | 4 ++-- php/classes/class-qsm-fields.php | 2 +- readme.txt | 9 +++++++-- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/mlw_quizmaster2.php b/mlw_quizmaster2.php index f07516eab..06d4730f6 100644 --- a/mlw_quizmaster2.php +++ b/mlw_quizmaster2.php @@ -2,7 +2,7 @@ /** * Plugin Name: Quiz And Survey Master * Description: Easily and quickly add quizzes and surveys to your website. - * Version: 9.1.1 + * Version: 9.1.2 * Author: ExpressTech * Author URI: https://quizandsurveymaster.com/ * Plugin URI: https://expresstech.io/ @@ -43,7 +43,7 @@ class MLWQuizMasterNext { * @var string * @since 4.0.0 */ - public $version = '9.1.1'; + public $version = '9.1.2'; /** * QSM Alert Manager Object diff --git a/php/classes/class-qsm-fields.php b/php/classes/class-qsm-fields.php index 6c775ca52..1e6334194 100644 --- a/php/classes/class-qsm-fields.php +++ b/php/classes/class-qsm-fields.php @@ -408,7 +408,7 @@ public static function generate_multiple_fields_field( $fields, $value ) { break; case 'radio': foreach ( $field["options"] as $option ) { - $isDisabled = isset( $option["disable"] ) && $option["disable"] == 1 ? ' disabled ' : ''; + $isDisabled = isset( $option["disable"] ) && 1 == $option["disable"] ? ' disabled ' : ''; ?>