Don't break existing expiry time of "infinity" when modifying protection
authorJackmcbarn <jackmcbarn@gmail.com>
Fri, 29 Aug 2014 15:30:37 +0000 (11:30 -0400)
committerKrinkle <krinklemail@gmail.com>
Tue, 2 Sep 2014 14:10:37 +0000 (14:10 +0000)
commite0400a2da02a06896944812af8439e411e0755f7
tree9ab587310b17fc7b108f4d0877c6dc824b9fb9bb
parent9079f55f69724f45374cfbf41fc2261808ff95bd
Don't break existing expiry time of "infinity" when modifying protection

Currently, modifying protection with infinite expiry time causes it to
be set to a blank "Other time", which causes an error. This fixes it to
act the same way as existing expiry times.

Bug: 70062
Change-Id: I3a7d45a677151597a941ecb11584bc1d67001136
includes/ProtectionForm.php
languages/i18n/en.json
languages/i18n/qqq.json