View Single Post
  #5  
Old 03-19-2012, 02:29 AM
  vasilis's Avatar 
vasilis vasilis is offline
 

X-Adept
  
Join Date: Feb 2009
Posts: 761
 

Default 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.
__________________
Vasilis Vrontisis
X-Cart Development, Maintenance & Customization
https://[URL="http://www.craftforweb.com"]craftforweb.com[/url]
vasilis@craftforweb.com
Reply With Quote