diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-02 23:58:36 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-02 23:58:36 +0000 |
commit | 53b7f5e7715ea3c71f525df77d74641e5220a9a6 (patch) | |
tree | 72dfa7b6935e6dbfcef9f78a785ddb739c6d68b5 /mod/search/index.php | |
parent | 6e51bcd2d33417f529da15baa5a413ebfc0ca993 (diff) | |
download | elgg-53b7f5e7715ea3c71f525df77d74641e5220a9a6.tar.gz elgg-53b7f5e7715ea3c71f525df77d74641e5220a9a6.tar.bz2 |
Fixes #2360: page_draw => elgg_view_page in core + bundled plugins
git-svn-id: http://code.elgg.org/elgg/trunk@7210 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/search/index.php')
-rw-r--r-- | mod/search/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/search/index.php b/mod/search/index.php index 705f6e0a8..c68fb4a0f 100644 --- a/mod/search/index.php +++ b/mod/search/index.php @@ -140,7 +140,7 @@ if (!$query) { $body .= elgg_view('page_elements/elgg_content', array('body' => elgg_echo('search:no_query'))); $layout = elgg_view_layout('one_column_with_sidebar', $body); - page_draw($title, $layout); + echo elgg_view_page($title, $layout); return; } @@ -260,4 +260,4 @@ $layout = elgg_view($layout_view, array('params' => $params, 'body' => $body)); $title = sprintf(elgg_echo('search:results'), "\"{$params['query']}\""); -page_draw($title, $layout); +echo elgg_view_page($title, $layout); |