[geeklog-cvs] geeklog: Fixed [staticpage_content:] autotag returning empty str...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sun Aug 28 11:08:55 EDT 2011


changeset 8367:30d0fa4b5d29
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/30d0fa4b5d29
user: Dirk Haun <dirk at haun-online.de>
date: Thu Jun 23 10:41:48 2011 +0200
description:
Fixed [staticpage_content:] autotag returning empty string for consecutive calls (bug #0001266)

diffstat:

 plugins/staticpages/functions.inc |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r d0af10713af7 -r 30d0fa4b5d29 plugins/staticpages/functions.inc
--- a/plugins/staticpages/functions.inc	Sun Jun 19 15:29:26 2011 +0200
+++ b/plugins/staticpages/functions.inc	Thu Jun 23 10:41:48 2011 +0200
@@ -1186,6 +1186,7 @@
                     $sp_content = SP_returnStaticpage($sp_id, 'autotag');
                     $content = str_replace($autotag['tagstr'], $sp_content,
                                            $content);
+                    unset($recursive[$sp_id]);
                 }
             }
         }



More information about the geeklog-cvs mailing list