aboutsummaryrefslogtreecommitdiffstats
path: root/search.php
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2004-02-05 23:18:05 +0000
committerz0rglub <z0rglub@piwigo.org>2004-02-05 23:18:05 +0000
commitfe34ce40465475f54dcbccd03529fa83de42f6fd (patch)
treec4a8c50e550b3515d2ae6ef9edc7559b40d4bb1b /search.php
parentc19070a07dae1ea3722e673ca75f8bcdf0f7bf14 (diff)
append central HTML to $output, do not echo $code anymore
git-svn-id: http://piwigo.org/svn/branches/release-1_3@350 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'search.php')
-rw-r--r--search.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/search.php b/search.php
index 96ec244ab..6f688bb73 100644
--- a/search.php
+++ b/search.php
@@ -118,10 +118,9 @@ $vtp->closeSession( $handle, 'line' );
//---------------------------------------------------- return to main page link
$vtp->setGlobalVar( $handle, 'back_url', add_session_id( './category.php' ) );
//----------------------------------------------------------- html code display
-$code = $vtp->Display( $handle, 0 );
-echo $code;
+$output.= $vtp->Display( $handle, 0 );
//------------------------------------------------------------ log informations
pwg_log( 'search', $title );
mysql_close();
include('include/page_tail.php');
-?> \ No newline at end of file
+?>