From: Franky V. L. <lie...@te...> - 2009-04-05 08:17:54
|
On Sat, 4 Apr 2009 23:06:23 +0200 Arjen van Bochoven <boc...@fe...> wrote: > Ok, I found the bug: > > I guess in order to prepare for a mysql query, the variable > containing the group is padded with quotes. This causes the check for > the group to fail. > > To fix it, edit admin/include/where/admdesigner.inc > on line 155 replace > in_array($r, $_SESSION['acl']['pgroup']) || > with > in_array(trim($r, "'"), $_SESSION['acl']['pgroup']) || > > Adding designers should be fine after that. > > cheers, > > Arjen Hmmm ... the in_array function is called in multiple places with the same $r variable. Shouldn't they all be changed then? I've committed a fix for this to svn. Franky |