From e438c2e36431d443e033b6371d37a79dc1e5bf33 Mon Sep 17 00:00:00 2001 From: Neil Blakey-Milner Date: Tue, 26 Jul 2005 12:18:02 +0000 Subject: [PATCH] The Central Payload might be already be a string, so don't try use the render method on it if it is. --- templates/ktcore/standard_page.smarty | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/templates/ktcore/standard_page.smarty b/templates/ktcore/standard_page.smarty index a8b2bc9..ba529f0 100644 --- a/templates/ktcore/standard_page.smarty +++ b/templates/ktcore/standard_page.smarty @@ -72,7 +72,11 @@

{$errorMessage}

{ /foreach } { if $cpayload } - { $cpayload->render() } + { if $cpayload|is_string } + { $cpayload } + { else } + { $cpayload->render() } + { /if } { else } Central payload not set { /if } -- libgit2 0.21.4