mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
- bug 75 fixed : unlogical screen when removing the last favorite
git-svn-id: http://piwigo.org/svn/trunk@727 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
+1
-1
@@ -267,7 +267,7 @@ if ( isset( $_GET['add_fav'] ) )
|
||||
}
|
||||
if ( !$_GET['add_fav'] and $page['cat'] == 'fav' )
|
||||
{
|
||||
if (!$has_prev and $mysql_num_rows == 1)
|
||||
if (!$has_prev and !$has_next)
|
||||
{
|
||||
// there is no favorite picture anymore we redirect the user to the
|
||||
// category page
|
||||
|
||||
Reference in New Issue
Block a user