diff --git a/picture.php b/picture.php index 7bb52056e..6c16c713d 100644 --- a/picture.php +++ b/picture.php @@ -787,7 +787,7 @@ if (is_admin()) } // favorite manipulation -if (!is_a_guest()) +if (!is_a_guest() and $conf['picture_favorite_icon']) { // verify if the picture is already in the favorite of the user $query = ' diff --git a/themes/default/template/picture_nav_buttons.tpl b/themes/default/template/picture_nav_buttons.tpl index f0e1300b5..c2a34eb5f 100644 --- a/themes/default/template/picture_nav_buttons.tpl +++ b/themes/default/template/picture_nav_buttons.tpl @@ -1,6 +1,6 @@