X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FProtectionForm.php;h=f777a37df40ab40581adb1adb5a2978e30a53bd6;hb=417da24040eac5148c342d47b0eb7210d8c6b35e;hp=4eae1ce42877e6f45e757ea94c2bd3ee1e87c938;hpb=1622cef1e2d8583b0fe98aa10c425a1594e7cc0f;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"; }