Skip to content

Commit

Permalink
Missing htmlspecialchars
Browse files Browse the repository at this point in the history
  • Loading branch information
remdex committed Dec 27, 2021
1 parent b769480 commit 1628920
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lhc_web/design/defaulttheme/tpl/lhmobile/settings.tpl.php
Expand Up @@ -14,7 +14,7 @@

<div class="form-group">
<label>FCM Key</label>
<input type="text" class="form-control" name="fcm_key" value="<?php isset($mb_options['fcm_key']) ? print $mb_options['fcm_key'] : ''?>" />
<input type="text" class="form-control" name="fcm_key" value="<?php isset($mb_options['fcm_key']) ? print htmlspecialchars($mb_options['fcm_key']) : ''?>" />
</div>

<input type="submit" class="btn btn-secondary" name="StoreOptions" value="<?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/buttons','Save'); ?>" />
Expand Down

0 comments on commit 1628920

Please sign in to comment.