]> git.donarmstrong.com Git - roundcube.git/blobdiff - program/steps/addressbook/search.inc
Imported Upstream version 0.5
[roundcube.git] / program / steps / addressbook / search.inc
index 790db060dfb15b508336a7bde6a3de11bfbe42a9..7c52ef608ee0b3fc1aaddf16d2b42e0055404efa 100644 (file)
@@ -4,8 +4,8 @@
  +-----------------------------------------------------------------------+
  | program/steps/addressbook/search.inc                                  |
  |                                                                       |
- | This file is part of the RoundCube Webmail client                     |
- | Copyright (C) 2005-2007, RoundCube Dev. - Switzerland                 |
+ | This file is part of the Roundcube Webmail client                     |
+ | Copyright (C) 2005-2007, Roundcube Dev. - Switzerland                 |
  | Licensed under the GNU GPL                                            |
  |                                                                       |
  | PURPOSE:                                                              |
@@ -38,8 +38,8 @@ if ($result->count > 0)
 }
 else
 {
-  $OUTPUT->show_message('nocontactsfound', 'warning');
-  $search_request = -1;
+  $OUTPUT->show_message('nocontactsfound', 'notice');
+  $search_request = null;
 }
 
 // update message count display
@@ -49,5 +49,3 @@ $OUTPUT->command('set_rowcount', rcmail_get_rowcount_text());
   
 // send response
 $OUTPUT->send();
-
-?>
\ No newline at end of file