added glass scale symptoms to translations
Some checks failed
PHPUnit / test (push) Has been cancelled
Some checks failed
PHPUnit / test (push) Has been cancelled
This commit is contained in:
@ -515,6 +515,9 @@ if ($qnID) {
|
||||
if (isset($config['hint1'])) $q['hint1'] = $config['hint1'];
|
||||
if (isset($config['hint2'])) $q['hint2'] = $config['hint2'];
|
||||
if (isset($config['symptoms'])) $q['symptoms'] = $config['symptoms'];
|
||||
if ($layout === 'glass_scale_question' && !empty($config['symptoms'])) {
|
||||
$q['glassSymptoms'] = qdb_glass_symptoms_with_labels($pdo, $config);
|
||||
}
|
||||
if (isset($config['scaleType'])) $q['scaleType'] = $config['scaleType'];
|
||||
if (isset($config['range'])) $q['range'] = $config['range'];
|
||||
if (isset($config['step'])) $q['step'] = (int)$config['step'];
|
||||
|
||||
Reference in New Issue
Block a user