ics1010 Posted February 23, 2013 Share Posted February 23, 2013 Hi, While doing some modification I changed something so now I wind up with an incorrect $val_self value. I didn't change any of the cubecart code, only code in my plug. I did a search on the site and can't find where this value is set. Can someone point me to where it is initialized? Thanks! Quote Link to comment Share on other sites More sharing options...
bsmither Posted February 24, 2013 Share Posted February 24, 2013 Welcome ics1010! Glad to see you made it to the forums. VAL_SELF is most generally set at around line 204 in the file gui.class.php (for the storefront). Its value comes from a function called currentPage(). The result of currentPage is, obviously, the page you are on right now. But VAL_SELF can be assigned just about anywhere. Quote Link to comment Share on other sites More sharing options...
ics1010 Posted February 24, 2013 Author Share Posted February 24, 2013 Thanks heaps! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.