From: <var...@us...> - 2014-09-01 09:25:39
|
Revision: 9059 http://sourceforge.net/p/phpwiki/code/9059 Author: vargenau Date: 2014-09-01 09:25:35 +0000 (Mon, 01 Sep 2014) Log Message: ----------- Fix wiki test, broken test caused by wiki refactoring Modified Paths: -------------- trunk/lib/plugin/WikiPoll.php Modified: trunk/lib/plugin/WikiPoll.php =================================================================== --- trunk/lib/plugin/WikiPoll.php 2014-08-27 16:18:17 UTC (rev 9058) +++ trunk/lib/plugin/WikiPoll.php 2014-09-01 09:25:35 UTC (rev 9059) @@ -72,8 +72,9 @@ 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); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |