[Fusionforge-commits] FusionForge branch master updated. f9fbeeb2e4c54d3163ce4e5b353ce61c004e308e

Marc-Etienne VARGENAU vargenau at fusionforge.org
Mon Sep 1 11:27:40 CEST 2014


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  f9fbeeb2e4c54d3163ce4e5b353ce61c004e308e (commit)
      from  57071b582dc0c2ad2a57e6175ed32ffdb9196e98 (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 f9fbeeb2e4c54d3163ce4e5b353ce61c004e308e
Author: Marc-Etienne Vargenau <Marc-Etienne.Vargenau at alcatel-lucent.com>
Date:   Mon Sep 1 11:27:33 2014 +0200

    wiki; fix test, broken test caused by wiki refactoring

diff --git a/src/plugins/wiki/www/lib/plugin/WikiPoll.php b/src/plugins/wiki/www/lib/plugin/WikiPoll.php
index 687f36e..11f2726 100644
--- a/src/plugins/wiki/www/lib/plugin/WikiPoll.php
+++ b/src/plugins/wiki/www/lib/plugin/WikiPoll.php
@@ -72,8 +72,9 @@ class WikiPlugin_WikiPoll
 
     function getArgs($argstr, $request = false, $defaults = array())
     {
-        if ($defaults === false)
+        if (empty($defaults)) {
             $defaults = $this->getDefaultArguments();
+        }
         //Fixme: on POST argstr is empty
         $args = array();
         list ($argstr_args, $argstr_defaults) = $this->parseArgStr($argstr);

-----------------------------------------------------------------------

Summary of changes:
 src/plugins/wiki/www/lib/plugin/WikiPoll.php |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list