diff options
Diffstat (limited to 'picture.php')
-rw-r--r-- | picture.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/picture.php b/picture.php index e1d60d4a4..479fcf63d 100644 --- a/picture.php +++ b/picture.php @@ -586,6 +586,12 @@ $template->assign_vars(array( 'U_ADD_COMMENT' => add_session_id(str_replace( '&', '&', $_SERVER['REQUEST_URI'] )) ) ); + +if ($conf['show_picture_name_on_title']) +{ + $template->assign_block_vars('title', array()); +} + //------------------------------------------------------- upper menu management // download link if file is not a picture if (!$picture['current']['is_picture']) |