mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-01 20:04:51 +02:00
bug 2752 fixed: make sure we don't use the mobile theme with the no_photo_yet feature
git-svn-id: http://piwigo.org/svn/branches/2.4@18116 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -41,6 +41,10 @@ SELECT
|
||||
list($nb_photos) = pwg_db_fetch_row(pwg_query($query));
|
||||
if (0 == $nb_photos)
|
||||
{
|
||||
// make sure we don't use the mobile theme, which is not compatible with
|
||||
// the "no photo yet" feature
|
||||
$template = new Template(PHPWG_ROOT_PATH.'themes', $user['theme']);
|
||||
|
||||
if (isset($_GET['no_photo_yet']))
|
||||
{
|
||||
if ('browse' == $_GET['no_photo_yet'])
|
||||
|
||||
Reference in New Issue
Block a user