Caching of XML/email templates finished:
[mailer.git] / inc / ajax / ajax_admin.php
index dc5733e835ae7e764e9215e4cf071475e083284f..ae95def44ce8c87eefb1bc6fda56883287ae55d5 100644 (file)
@@ -99,7 +99,7 @@ function doAjaxAdminRequestContent () {
                setAjaxReplyContent(loadTemplate('admin_area_' . trim(postRequestElement('tab')), true));
 
                // Has the template been loaded?
-               if (isset($GLOBALS['tpl_content']['admin_page_' . trim(postRequestElement('tab'))])) {
+               if (isset($GLOBALS['template_content']['html']['admin_page_' . trim(postRequestElement('tab'))])) {
                        // All okay if we reach this point
                        setHttpStatus('200 OK');
                } else {