xoops forums

Forum Index


Board index » All Posts (dpawlowski)




dpawlowski

Just popping in
Posted on: 2006/2/2 12:43
dpawlowski
dpawlowski (Show more)
Just popping in
Posts: 1
Since: 2006/2/2 9
#1

Re: wmpdownloads permission problem

groupaccess.php

There is problem with array_merge() in PHP5.

You have to change line:

$grps = array_merge( $xoopsUser->getGroups(), XOOPS_GROUP_ANONYMOUS);

to line:

$grps = array_merge( $xoopsUser->getGroups(),
(array)XOOPS_GROUP_ANONYMOUS);

Regards,
Dariusz,



TopTop