better confirm cancel

darcs-hash:20080721162434-84dde-1302ff7dc970e663fc21b336b3da821793b62d86.gz
This commit is contained in:
Evan Prodromou 2008-07-21 12:24:34 -04:00
parent 5e92efe85f
commit 76f6e04a45
1 changed files with 2 additions and 2 deletions

View File

@ -229,8 +229,8 @@ class SmssettingsAction extends EmailsettingsAction {
$this->show_form(_('No pending confirmation to cancel.'));
return;
}
if ($confirm->address != $sms || $confirm->address_extra != $carrier) {
$this->show_form(_('That is the wrong IM address.'));
if ($confirm->address != $sms) {
$this->show_form(_('That is the wrong confirmation number.'));
return;
}