Index: trunk/phase3/includes/ProtectionForm.php |
— | — | @@ -97,7 +97,7 @@ |
98 | 98 | // Expiry selected from list |
99 | 99 | $this->mExpiry[$action] = ''; |
100 | 100 | $this->mExpirySelection[$action] = $requestExpirySelection; |
101 | | - } elseif ( $existingExpiry == 'infinite' ) { |
| 101 | + } elseif ( $existingExpiry == 'infinity' ) { |
102 | 102 | // Existing expiry is infinite, use "infinite" in drop-down |
103 | 103 | $this->mExpiry[$action] = ''; |
104 | 104 | $this->mExpirySelection[$action] = 'infinite'; |