View Single Post
  #3  
Old 07-09-2014, 09:06 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Bug in Webmaster Kit Mark Templates Function

Okay Tony, or anyone. I fixed it. But I would like to know if there is a better fix, or if there is some flaw in my logic here. Of course I am not going to modify core files, just testing this fix in the run folder.

Edit line 348 of XLite/Core/Auth.php in public function getProfile

Find:
PHP Code:
if (!$this->profile['isInitialized']) { 
Replace with:
PHP Code:
if (!$this->profile['isInitialized'] || !$this->profile['object']) { 

Is there a better way to fix this bug? Should I dig deeper?
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote