This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, master has been updated
via 4859b62b1fe89eadb7c06d956976adfa69915c16 (commit)
from 50abd27d5c6ee9993fd7e23494806836888a38e6 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 4859b62b1fe89eadb7c06d956976adfa69915c16
Author: Marc-Etienne Vargenau <[email protected]>
Date: Thu Jul 3 10:55:41 2014 +0200
wiki: fix undefined $summary warning
diff --git a/src/plugins/wiki/www/lib/plugin/WikiBlog.php
b/src/plugins/wiki/www/lib/plugin/WikiBlog.php
index c029593..3c20437 100644
--- a/src/plugins/wiki/www/lib/plugin/WikiBlog.php
+++ b/src/plugins/wiki/www/lib/plugin/WikiBlog.php
@@ -305,9 +305,10 @@ class WikiPlugin_WikiBlog
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;
}
-----------------------------------------------------------------------
Summary of changes:
src/plugins/wiki/www/lib/plugin/WikiBlog.php | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits