aboutsummaryrefslogtreecommitdiffstats
path: root/picture.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 /picture.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 'picture.php')
-rw-r--r--picture.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/picture.php b/picture.php
index aefb2a3fe..838adff1e 100644
--- a/picture.php
+++ b/picture.php
@@ -756,8 +756,7 @@ if ( $conf['show_comments'] )
pwg_log( 'picture', $intitule_cat, $page['file'] );
mysql_close();
//----------------------------------------------------------- html code display
-$code = $vtp->Display( $handle, 0 );
-echo $code;
+$output.= $vtp->Display( $handle, 0 );
include('include/page_tail.php');
-?> \ No newline at end of file
+?>