mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 02:44:27 +02:00
fixed copy/paste error
This commit is contained in:
@@ -74,7 +74,7 @@ function mysql_cache_handler($action, &$smarty_obj, &$cache_content, $tpl_file=n
|
|||||||
|
|
||||||
switch ($action) {
|
switch ($action) {
|
||||||
case 'read':
|
case 'read':
|
||||||
// save cache to database
|
// read cache from database
|
||||||
$results = mysql_query("select CacheContents from CACHE_PAGES where CacheID='$CacheID'");
|
$results = mysql_query("select CacheContents from CACHE_PAGES where CacheID='$CacheID'");
|
||||||
if(!$results) {
|
if(!$results) {
|
||||||
$smarty_obj->_trigger_error_msg("cache_handler: query failed.");
|
$smarty_obj->_trigger_error_msg("cache_handler: query failed.");
|
||||||
|
Reference in New Issue
Block a user