From a510f7c0312c54b5839cc3fa90de98984d3d075b Mon Sep 17 00:00:00 2001
From: Helior Colorado <me@helior.info>
Date: Thu, 7 Jun 2012 18:06:00 -0700
Subject: [PATCH] Renaming preprocess function to ensure it runs first.

---
 fieldable_panels_panes.install |    8 ++++++++
 fieldable_panels_panes.module  |    2 +-
 2 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/fieldable_panels_panes.install b/fieldable_panels_panes.install
index 3e351b7..ab99ebc 100644
--- a/fieldable_panels_panes.install
+++ b/fieldable_panels_panes.install
@@ -175,3 +175,11 @@ function fieldable_panels_panes_update_7102(&$sandbox) {
     ->condition('fpid', $existing, 'NOT IN')
     ->execute();
 }
+
+/**
+ * Reset the theme registry.
+ */
+function fieldable_panels_panes_update_7103(&$sandbox) {
+  // All caches are flushed during the update process, so we do nothing.
+  return t('Theme registry cache has been cleared.');
+}
diff --git a/fieldable_panels_panes.module b/fieldable_panels_panes.module
index 7a85b71..96c3e46 100644
--- a/fieldable_panels_panes.module
+++ b/fieldable_panels_panes.module
@@ -481,7 +481,7 @@ function fieldable_panels_panes_views_api() {
 /**
  * Preprocess function for fieldable-panels-pane.tpl.php
  */
-function fieldable_panels_panes_preprocess_fieldable_panels_pane(&$vars) {
+function template_preprocess_fieldable_panels_pane(&$vars) {
   $vars += array('content' => array());
   foreach (element_children($vars['elements']) as $key) {
     $vars['content'][$key] = $vars['elements'][$key];
-- 
1.7.7.5 (Apple Git-26)

