? 529258.patch
? 530104.patch
? 539418-descr-update.patch
? 604404-no-cache-post.patch
? ctools-558918_0.patch
? og_panels-fix-undefined-var-ts.patch
? panels-578116.patch
? panels-must-be-enabled.patch
? panels-n460902.patch
? panels-n562560-2.patch
? panels-pane.tpl.patch
? panels-pane.tpl_.zip
? panels-rounded_corners_transparent20090811.patch
? panels-rounded_corners_transparent20090811.zip
? panels-unstranslatable-strings.patch
? panels_include_content.patch
? panels_node.allowed-layouts.patch
? panels_remove_fixed_height-D6.patch
? plugins/styles/corners/corners.png
Index: includes/plugins.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/panels/includes/plugins.inc,v
retrieving revision 1.13.2.11
diff -u -p -r1.13.2.11 plugins.inc
--- includes/plugins.inc	17 Aug 2009 21:49:34 -0000	1.13.2.11
+++ includes/plugins.inc	14 Oct 2009 16:31:40 -0000
@@ -83,6 +83,11 @@ function panels_get_pane_content($displa
  *   The cached content, or FALSE to indicate no cached content exists.
  */
 function panels_get_cached_content($display, $args, $context, $pane = NULL) {
+  // Never use cache on a POST
+  if (!empty($_POST)) {
+    return FALSE;
+  }
+
   $method = $pane ? $pane->cache['method'] : $display->cache['method'];
   $function = panels_plugin_get_function('cache', $method, 'cache get');
 
@@ -105,6 +110,11 @@ function panels_get_cached_content($disp
  * Store cached content for a given display and possibly pane.
  */
 function panels_set_cached_content($cache, $display, $args, $context, $pane = NULL) {
+  // Never use cache on a POST
+  if (!empty($_POST)) {
+    return FALSE;
+  }
+
   $method = $pane ? $pane->cache['method'] : $display->cache['method'];
   $function = panels_plugin_get_function('cache', $method, 'cache set');
 
