From 9acedd40f6729c39dcc0ce63b3e3345a77ddc173 Mon Sep 17 00:00:00 2001
From: Andreas Gohr <andi@splitbrain.org>
Date: Sat, 14 Feb 2009 12:47:00 +0100
Subject: [PATCH] Fixed header support for renderer plugins when run the first
 time FS#1608

Ignore-this: 23dc9e7eda7fd430071d6de62c218842

darcs-hash:20090214114700-7ad00-67030b0174425844e54866612d5cd25a3af5bcf6.gz
---
 inc/actions.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/inc/actions.php b/inc/actions.php
index 6d7859b6a..27aa37515 100644
--- a/inc/actions.php
+++ b/inc/actions.php
@@ -476,8 +476,8 @@ function act_export($act){
       $output = p_wiki_xhtml($ID,$REV,false);
       break;
     default:
-      $headers = p_get_metadata($ID,"format $mode");
       $output = p_cached_output(wikiFN($ID,$REV), $mode);
+      $headers = p_get_metadata($ID,"format $mode");
       break;
   }
 
-- 
GitLab