From: <var...@us...> - 2014-07-02 09:10:38
|
Revision: 8947 http://sourceforge.net/p/phpwiki/code/8947 Author: vargenau Date: 2014-07-02 09:10:30 +0000 (Wed, 02 Jul 2014) Log Message: ----------- Fix undefined $summary warning Modified Paths: -------------- trunk/lib/plugin/WikiBlog.php Modified: trunk/lib/plugin/WikiBlog.php =================================================================== --- trunk/lib/plugin/WikiBlog.php 2014-07-01 15:46:57 UTC (rev 8946) +++ trunk/lib/plugin/WikiBlog.php 2014-07-02 09:10:30 UTC (rev 8947) @@ -305,9 +305,10 @@ if ($type == 'wikiblog') $basepage = "Blog"; elseif ($type == 'comment') - $basepage = "Comment"; elseif ($type == 'wikiforum') - $basepage = substr($summary, 0, 12); - //$basepage = _("Message"); // FIXME: we use now the first 12 chars of the summary + $basepage = "Comment"; + elseif ($type == 'wikiforum') + // $basepage = substr($summary, 0, 12); + $basepage = _("Message"); // FIXME: we use now the first 12 chars of the summary return $basepage; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |