james преди 8 години
родител
ревизия
bf2fd7c3b6
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      helper/activity/goods_gift.php

+ 2 - 2
helper/activity/goods_gift.php

@@ -21,7 +21,7 @@ class goods_gift
 {
     static private $stInstance = null;
     private $contents;
-    const cache_nam = 'all_goods_gift';
+    const cache_name = 'all_goods_gift';
 
     private function __construct()
     {
@@ -49,7 +49,7 @@ class goods_gift
     private function read_cache()
     {
         $prefix = 'mb_activity';
-        $items = rcache(self::cache_nam, $prefix);
+        $items = rcache(self::cache_name, $prefix);
 
         if (!empty($items)) {
             return unserialize($items['data']);