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/edit.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/program/steps/addressbook/edit.inc b/program/steps/addressbook/edit.inc
index 7ddd3e5..de78baa 100644
--- a/program/steps/addressbook/edit.inc
+++ b/program/steps/addressbook/edit.inc
@@ -70,7 +70,7 @@
      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;
      }
 

--
Gitblit v1.9.1