Re: removing item from breadcrumbs and changing buttons value
Yes Mike, you are right. I missed the logic with the OR clauses, since if $main equals to 'help', then it is not equal to 'catalog', so one of the OR conditions is true, therefore the sentence evaluates to true and the breadcrumbs is included. So, the $main variable must not be equal to 'help' in every case.
|