Fix so contactnotfound message is of type error not info
| | |
| | | else if ($RCMAIL->action != 'add' |
| | | && !(($result = $CONTACTS->get_result()) && ($record = $result->first())) |
| | | ) { |
| | | $RCMAIL->output->show_message('contactnotfound'); |
| | | $RCMAIL->output->show_message('contactnotfound', 'error'); |
| | | return false; |
| | | } |
| | | |
| | |
| | | |
| | | // check if we have a valid result |
| | | if (!(($result = $CONTACTS->get_result()) && ($record = $result->first()))) { |
| | | $RCMAIL->output->show_message('contactnotfound'); |
| | | $RCMAIL->output->show_message('contactnotfound', 'error'); |
| | | return false; |
| | | } |
| | | |
| | |
| | | |
| | | // check if we have a valid result |
| | | if (!(($result = $CONTACTS->get_result()) && ($record = $result->first()))) { |
| | | //$RCMAIL->output->show_message('contactnotfound'); |
| | | return false; |
| | | } |
| | | |