From be72d624325e40bb2de14dd31a30191673a517f6 Mon Sep 17 00:00:00 2001 From: Andrew Garrett Date: Tue, 23 Jan 2007 07:57:41 +0000 Subject: [PATCH] Disable the expiry field in Protection for users without the requisite permission. --- includes/ProtectionForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/ProtectionForm.php b/includes/ProtectionForm.php index 2d9d31b159..4cd7dd44e6 100644 --- a/includes/ProtectionForm.php +++ b/includes/ProtectionForm.php @@ -296,7 +296,7 @@ class ProtectionForm { 'size' => 60, 'name' => $id, 'id' => $id, - 'value' => $this->mExpiry ) ); + 'value' => $this->mExpiry ) + $this->disabledAttrib ); $ci .= ""; return $ci; -- 2.20.1