From 1eb719c89fa943a13ffbe54751c2165e4bdccf68 Mon Sep 17 00:00:00 2001 From: messju Date: Fri, 29 Oct 2004 10:00:55 +0000 Subject: [PATCH] fixed variable-names in example. thanks to Hpatoio --- .../advanced-features/section-template-cache-handler-func.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/programmers/advanced-features/section-template-cache-handler-func.xml b/docs/en/programmers/advanced-features/section-template-cache-handler-func.xml index f0dbc97f..81f56471 100644 --- a/docs/en/programmers/advanced-features/section-template-cache-handler-func.xml +++ b/docs/en/programmers/advanced-features/section-template-cache-handler-func.xml @@ -82,9 +82,9 @@ function mysql_cache_handler($action, &$smarty_obj, &$cache_content, $tpl_file=n $row = mysql_fetch_array($results,MYSQL_ASSOC); if($use_gzip && function_exists("gzuncompress")) { - $cache_contents = gzuncompress($row["CacheContents"]); + $cache_content = gzuncompress($row["CacheContents"]); } else { - $cache_contents = $row["CacheContents"]; + $cache_content = $row["CacheContents"]; } $return = $results; break;