projects
/
fusionforge
/
fusionforge.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
768bb3d
)
use exit_error .
author
Alain Peyrat
<aljeux@free.fr>
Mon, 4 Oct 2010 17:24:26 +0000
(17:24 +0000)
committer
Alain Peyrat
<aljeux@free.fr>
Mon, 4 Oct 2010 17:24:26 +0000
(17:24 +0000)
src/www/search/index.php
patch
|
blob
|
history
diff --git
a/src/www/search/index.php
b/src/www/search/index.php
index 19b535488c7cf8cefa675587445d4a7cd5cdd8b7..c92c49ce138804affefe1ec949adb30ded51e573 100644
(file)
--- a/
src/www/search/index.php
+++ b/
src/www/search/index.php
@@
-79,11
+79,7
@@
$renderer = $searchManager->getSearchRenderer($type_of_search, $words, $offset,
if ($renderer) {
$renderer->flush();
} else {
- $HTML->header(array('title'=>_('Search')));
- echo '<div class="error">'._('Error - Invalid search').'</div>';
-
- $HTML->footer(array());
- exit();
+ exit_error(_('Error - Invalid search'));
}
?>