[gnome-web-www] previous-donors: Cached the right content, donors_file, not donors



commit bedd0eb61ea1d382f449ef4a254d232ae67797c6
Author: Tobias Mueller <tobiasmue gnome org>
Date:   Fri Jan 25 19:20:33 2013 +0100

    previous-donors: Cached the right content, donors_file, not donors

 theme/page-previous-donors.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/theme/page-previous-donors.php b/theme/page-previous-donors.php
index 74317b8..167fc90 100644
--- a/theme/page-previous-donors.php
+++ b/theme/page-previous-donors.php
@@ -27,7 +27,7 @@ foreach (array(
             $donors_file = file_get_contents($url);
 
             // keeps a 24-hour cache until another HTTP request
-            set_transient($cache_name, $donors, 60*60*24);
+            set_transient($cache_name, $donors_file, 60*60*24);
         }
         $donors[$year][$level] = array();
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]