Update of /cvsroot/phpwiki/phpwiki/lib In directory usw-pr-cvs1:/tmp/cvs-serv31709/lib Modified Files: Template.php Log Message: fixed problem with remove Index: Template.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/lib/Template.php,v retrieving revision 1.39 retrieving revision 1.40 diff -u -2 -b -p -d -r1.39 -r1.40 --- Template.php 23 Aug 2002 18:29:29 -0000 1.39 +++ Template.php 23 Aug 2002 22:10:16 -0000 1.40 @@ -213,6 +213,7 @@ function GeneratePage($content, $title, // This is a hack but, it works fast enough... so beware of spaces // The other possibility would be to redirect to an action=FrameInclude - $text = &$page_revision->getPackedContent(); - if ($page_revision and strstr($text, '<?plugin FrameInclude')) { + if ($page_revision and + $text = &$page_revision->getPackedContent() and + strstr($text, '<?plugin FrameInclude')) { $plugin = TransformText($page_revision); $args['FRAMESET'] = $plugin->_content[0];