[pLog-svn] r1316 - templates/trunk/wordplog

oscar at devel.plogworld.net oscar at devel.plogworld.net
Sat Mar 5 10:41:56 GMT 2005


Author: oscar
Date: 2005-03-05 10:41:56 +0000 (Sat, 05 Mar 2005)
New Revision: 1316

Modified:
   templates/trunk/wordplog/module_postbrowse.inc
Log:
fixed issue 305 (http://bugs.plogworld.net/view.php?id=305) -- people pay more attention to these things, please...

Modified: templates/trunk/wordplog/module_postbrowse.inc
===================================================================
--- templates/trunk/wordplog/module_postbrowse.inc	2005-03-05 10:36:31 UTC (rev 1315)
+++ templates/trunk/wordplog/module_postbrowse.inc	2005-03-05 10:41:56 UTC (rev 1316)
@@ -1,3 +1,5 @@
+{if $templatename=="post"}
+{** this should only be executed when we are browsing one particular post! Elsewhere it will give an error **}
 				{assign var=prevpost value=$post->getPrevArticle()}
 				{assign var=nextpost value=$post->getNextArticle()}
 				{if $prevpost == true || $nextpost == true}
@@ -13,3 +15,4 @@
 			   		{/if}</li></ul>
 				</li>
 				{/if}
+{/if}
\ No newline at end of file




More information about the pLog-svn mailing list