|
From: OryNider <ory...@us...> - 2008-01-03 19:04:11
|
Update of /cvsroot/mxbb/mx_smartor In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv3918 Modified Files: album.php Log Message: Index: album.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album.php,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** album.php 5 Oct 2007 11:09:41 -0000 1.18 --- album.php 3 Jan 2008 19:04:07 -0000 1.19 *************** *** 315,321 **** { // ------------------------------------------------ ! // build list of allowd category id's // ------------------------------------------------ ! $allowed_cat .= ($allowed_cat == '') ? $catrows[$i]['cat_id'] : ','.$catrows[$i]['cat_id']; } // --- 315,328 ---- { // ------------------------------------------------ ! // Fix by Phea // ------------------------------------------------ ! $tmpAccess = album_user_access($catrows[$i]['cat_id'], 0, ALBUM_AUTH_VIEW, 0, 0, 0, 0, 0); // VIEW ! if ($tmpAccess['view'] == 1) ! { ! // ------------------------------------------------ ! // build list of allowd category id's ! // ------------------------------------------------ ! $allowed_cat .= ($allowed_cat == '') ? $catrows[$i]['cat_id'] : ','.$catrows[$i]['cat_id']; ! } } // |