"fixed bug reported by Peter Goerzen and Nathan: deleting a contact from view gives error, even if the contact get's successful delete"

This commit is contained in:
Ralf Becker 2008-04-22 06:08:01 +00:00
parent 80367bb943
commit c2c2c390ce

View File

@ -1609,7 +1609,7 @@ class uicontacts extends bocontacts
case 'delete':
$GLOBALS['egw']->redirect_link('/index.php',array(
'menuaction' => 'addressbook.uicontacts.index',
'msg' => $this->delete($content) ? lang('Error deleting the contact !!!') : lang('Contact deleted'),
'msg' => $this->delete($content) ? lang('Contact deleted') : lang('Error deleting the contact !!!'),
));
}
}