aboutsummaryrefslogtreecommitdiff
path: root/mod/search
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-29 22:05:01 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-29 22:05:01 +0000
commit67d881e0dc3098800038127441836189f84b4322 (patch)
tree52dd22ea0e818e0c9ec79de05743ba9bf7a36fe6 /mod/search
parentd276934f6d90134a96b57d22d69ecedd29e6d03a (diff)
downloadelgg-67d881e0dc3098800038127441836189f84b4322.tar.gz
elgg-67d881e0dc3098800038127441836189f84b4322.tar.bz2
Fixes #2241 - removed direct calls to the content wrapper view and removed the view as it is been replaced by a body view
git-svn-id: http://code.elgg.org/elgg/trunk@7759 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/search')
-rw-r--r--mod/search/index.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/mod/search/index.php b/mod/search/index.php
index 4e73b78ae..82182dd75 100644
--- a/mod/search/index.php
+++ b/mod/search/index.php
@@ -137,8 +137,7 @@ foreach ($custom_types as $type) {
// check that we have an actual query
if (!$query) {
$body = elgg_view_title(elgg_echo('search:search_error'));
- $body .= elgg_view('page/elements/content', array('body' => elgg_echo('search:no_query')));
-
+ $body .= elgg_echo('search:no_query');
$layout = elgg_view_layout('one_column_with_sidebar', array('content' => $body));
echo elgg_view_page($title, $layout);