summaryrefslogtreecommitdiff
path: root/program/steps/addressbook/show.inc
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-11-22 12:50:41 +0100
committerAleksander Machniak <alec@alec.pl>2013-11-22 12:50:41 +0100
commitf768a6eae82d549e444511639d19c471321234c1 (patch)
tree6a419ac7220db172405c79ad8a2b0c1a3917c2c0 /program/steps/addressbook/show.inc
parentb82fccfc693416a362b9f81fbb288e57f71680be (diff)
Fix so contactnotfound message is of type error not info
Diffstat (limited to 'program/steps/addressbook/show.inc')
-rw-r--r--program/steps/addressbook/show.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/program/steps/addressbook/show.inc b/program/steps/addressbook/show.inc
index efab5e9e5..840023990 100644
--- a/program/steps/addressbook/show.inc
+++ b/program/steps/addressbook/show.inc
@@ -45,7 +45,7 @@ function rcmail_contact_head($attrib)
// 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;
}
@@ -72,7 +72,6 @@ function rcmail_contact_details($attrib)
// check if we have a valid result
if (!(($result = $CONTACTS->get_result()) && ($record = $result->first()))) {
- //$RCMAIL->output->show_message('contactnotfound');
return false;
}