dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2ce9a2
)
Tweak to ProtectionForm: Title::getRestrictionExpiry returns 'infinity' for 'infinite'
author
Alex Z
<mrzman@users.mediawiki.org>
Tue, 16 Sep 2008 18:46:58 +0000
(18:46 +0000)
committer
Alex Z
<mrzman@users.mediawiki.org>
Tue, 16 Sep 2008 18:46:58 +0000
(18:46 +0000)
includes/ProtectionForm.php
patch
|
blob
|
history
diff --git
a/includes/ProtectionForm.php
b/includes/ProtectionForm.php
index
c8b1f90
..
07ded43
100644
(file)
--- a/
includes/ProtectionForm.php
+++ b/
includes/ProtectionForm.php
@@
-97,7
+97,7
@@
class ProtectionForm {
// Expiry selected from list
$this->mExpiry[$action] = '';
$this->mExpirySelection[$action] = $requestExpirySelection;
- } elseif ( $existingExpiry == 'infinit
e
' ) {
+ } elseif ( $existingExpiry == 'infinit
y
' ) {
// Existing expiry is infinite, use "infinite" in drop-down
$this->mExpiry[$action] = '';
$this->mExpirySelection[$action] = 'infinite';