View Single Post
Old June 1st, 2012, 07:48 AM   #3 (permalink)
inspi2012
Member
Verified Customer
 
Join Date: Jan 2012
Posts: 102
Thanks Chuck. For #2, I have two section containing that code. Do I change both occurrences?

Section 1:

Quote:
if ( $CatPerms['thumbs'][$subid] == "yes" && ($template == -1 || $CatPerms['template'][$subid] == $template) )
{
if ( $CatPerms['ugview'][$subid] != 1 || $User['adminedit'] == 1 )
{
$chkparent = $CatPerms['parent'][$subid];
do
{
if ( $chkparent == 0 || $chkparent == $subcatid )
{
break;
}

And section 2,


Quote:
if ( $subid == $selected )
{
$selecttext = "selected=\"selected\"";
}

if ( $CatPerms['ugview'][$subid] != 1 || $User['adminedit'] == 1 )
{
$chkparent = $CatPerms['parent'][$subid];
do
{
if ( $chkparent == 0 || $chkparent == $subcatid )
{
break;
}
inspi2012 is offline   Reply With Quote