X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FProtectionForm.php;h=f777a37df40ab40581adb1adb5a2978e30a53bd6;hb=439e55d1ea6b2dea9e73eb377308f69457ae21c5;hp=4eae1ce42877e6f45e757ea94c2bd3ee1e87c938;hpb=8fe8b455b96c8316ae5e26c608c5be23b33f5010;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/ProtectionForm.php b/includes/ProtectionForm.php index 4eae1ce428..f777a37df4 100644 --- a/includes/ProtectionForm.php +++ b/includes/ProtectionForm.php @@ -412,11 +412,9 @@ class ProtectionForm { } else { list( $show, $value ) = explode( ":", $option ); } - $show = htmlspecialchars( $show ); - $value = htmlspecialchars( $value ); $expiryFormOptions .= Xml::option( $show, - $value, + htmlspecialchars( $value ), $this->mExpirySelection[$action] === $value ) . "\n"; }