From 2db479dc90ac74c72beaa70d00f3c881e60ad754 Mon Sep 17 00:00:00 2001 From: Mark Story Date: Mon, 28 Dec 2009 21:58:56 -0500 Subject: [PATCH] Making CacheHelper create $this->Html style helper references. --- cake/libs/view/helpers/cache.php | 1 + 1 file changed, 1 insertion(+) diff --git a/cake/libs/view/helpers/cache.php b/cake/libs/view/helpers/cache.php index 59baef793..98989942c 100644 --- a/cake/libs/view/helpers/cache.php +++ b/cake/libs/view/helpers/cache.php @@ -256,6 +256,7 @@ class CacheHelper extends AppHelper { $camelBackedHelper = Inflector::variable($helper); ${$camelBackedHelper} =& $loadedHelpers[$helper]; $this->loaded[$camelBackedHelper] =& ${$camelBackedHelper}; + $this->{$helper} =& $loadedHelpers[$helper]; } ?>'; $content = preg_replace("/(<\\?xml)/", "",$content);