mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 09:13:02 +02:00
Minor corrections of PHP warnings
git-svn-id: http://piwigo.org/svn/branches/release-1_3@276 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -188,12 +188,16 @@ function display_category( $category, $indent, $handle )
|
||||
else
|
||||
{
|
||||
$vtp->addSession( $handle, 'bullet_w_link' );
|
||||
$url = './category.php?cat='.$page['cat'];
|
||||
$url = './category.php';
|
||||
if (isset($page['cat']))
|
||||
{
|
||||
$url .='?cat='.$page['cat'];
|
||||
$url.= '&expand='.$category['expand_string'];
|
||||
if ( $page['cat'] == 'search' )
|
||||
{
|
||||
$url.= '&search='.$_GET['search'].'&mode='.$_GET['mode'];
|
||||
}
|
||||
}
|
||||
$vtp->setVar( $handle, 'bullet_w_link.bullet_link', add_session_id($url) );
|
||||
if ( $category['expanded'] )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user