|
From: OryNider <ory...@us...> - 2008-01-03 19:03:43
|
Update of /cvsroot/mxbb/mx_smartor In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv3383 Modified Files: Tag: core28x album.php Log Message: Index: album.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album.php,v retrieving revision 1.17.2.2 retrieving revision 1.17.2.3 diff -C2 -d -r1.17.2.2 -r1.17.2.3 *** album.php 5 Oct 2007 11:12:51 -0000 1.17.2.2 --- album.php 3 Jan 2008 19:03:22 -0000 1.17.2.3 *************** *** 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']; ! } } // |