From f768a6eae82d549e444511639d19c471321234c1 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Fri, 22 Nov 2013 06:50:41 -0500 Subject: [PATCH] Fix so contactnotfound message is of type error not info --- program/steps/addressbook/show.inc | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/program/steps/addressbook/show.inc b/program/steps/addressbook/show.inc index efab5e9..8400239 100644 --- a/program/steps/addressbook/show.inc +++ b/program/steps/addressbook/show.inc @@ -45,7 +45,7 @@ // 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 @@ // check if we have a valid result if (!(($result = $CONTACTS->get_result()) && ($record = $result->first()))) { - //$RCMAIL->output->show_message('contactnotfound'); return false; } -- Gitblit v1.9.1