Commit e438c2e36431d443e033b6371d37a79dc1e5bf33

Authored by Neil Blakey-Milner
1 parent e038b78c

The Central Payload might be already be a string, so don't try use the

render method on it if it is.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3460 c91229c3-7414-0410-bfa2-8a42b809f60b
templates/ktcore/standard_page.smarty
@@ -72,7 +72,11 @@ @@ -72,7 +72,11 @@
72 <table border="0"><tr><td><p class="errorText">{$errorMessage}</p></td></tr></table> 72 <table border="0"><tr><td><p class="errorText">{$errorMessage}</p></td></tr></table>
73 { /foreach } 73 { /foreach }
74 { if $cpayload } 74 { if $cpayload }
75 - { $cpayload->render() } 75 + { if $cpayload|is_string }
  76 + { $cpayload }
  77 + { else }
  78 + { $cpayload->render() }
  79 + { /if }
76 { else } 80 { else }
77 Central payload not set 81 Central payload not set
78 { /if } 82 { /if }