Announcement

#1 2014-12-15 14:42:47

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

[2.6] bug on inheritance_by_default

Hi flop25,

On a Piwigo 2.6 (and certainly on 2.7) I encounter a problem when $conf['inheritance_by_default']=true :

Code:

          SELECT *
          FROM piwigo_group_access
          WHERE cat_id IN ()
        ;

...

          SELECT *
          FROM piwigo_user_access
          WHERE cat_id IN ()
        ;

See, admin/site_update.php, line ~306

The problem is that we have no value for the "IN". I don't know why. Maybe we should add a test :

Code:

if ($conf['inheritance_by_default'] and !empty($category_up))

Offline

 

#2 2014-12-15 17:21:32

flop25
Piwigo Team
2006-07-06
7037

Re: [2.6] bug on inheritance_by_default

hi
thx for the notif
is that for root album?


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact