Fixed  error when clicking 'Templates' after swapping styles

Jake Bunce

XenForo moderator
Staff member
On my test forum I often create a new style to quickly remove custom stuff from previous testing. I have discovered a minor quirk when doing this.

FF 3.6.13
OS X 10.6.5

1) Go to:

Admin CP -> Appearance -> Templates

2) Now create a new style:

Admin CP -> Appearance -> Styles -> Create New Style

3) Now set the new style to default and delete the old style:

Admin CP -> Appearance -> Styles

4) Now click the 'Templates' link in the left column:

Admin CP -> Appearance -> Templates

You get this:

Screen shot 2010-12-10 at 10.30.59 AM.png

In debug mode it loads the templates for the master style instead of showing the error.