From: <var...@us...> - 2014-09-01 10:14:58
|
Revision: 9060 http://sourceforge.net/p/phpwiki/code/9060 Author: vargenau Date: 2014-09-01 10:14:55 +0000 (Mon, 01 Sep 2014) Log Message: ----------- Cosmetic Modified Paths: -------------- trunk/lib/main.php trunk/lib/plugin/RecentChanges.php trunk/lib/plugin/RedirectTo.php Modified: trunk/lib/main.php =================================================================== --- trunk/lib/main.php 2014-09-01 09:25:35 UTC (rev 9059) +++ trunk/lib/main.php 2014-09-01 10:14:55 UTC (rev 9060) @@ -387,7 +387,8 @@ if (!empty($HTTP_GET_VARS['start_debug'])) // zend ide support return WikiURL($pagename, array('action' => $action, 'start_debug' => 1)); elseif ($action == 'edit') - return WikiURL($pagename); else + return WikiURL($pagename); + else return WikiURL($pagename, array('action' => $action)); } Modified: trunk/lib/plugin/RecentChanges.php =================================================================== --- trunk/lib/plugin/RecentChanges.php 2014-09-01 09:25:35 UTC (rev 9059) +++ trunk/lib/plugin/RecentChanges.php 2014-09-01 10:14:55 UTC (rev 9060) @@ -1302,7 +1302,9 @@ function getArgs($argstr, $request = false, $defaults = array()) { - if (!$defaults) $defaults = $this->getDefaultArguments(); + if (empty($defaults)) { + $defaults = $this->getDefaultArguments(); + } $args = WikiPlugin::getArgs($argstr, $request, $defaults); $action = $request->getArg('action'); Modified: trunk/lib/plugin/RedirectTo.php =================================================================== --- trunk/lib/plugin/RedirectTo.php 2014-09-01 09:25:35 UTC (rev 9059) +++ trunk/lib/plugin/RedirectTo.php 2014-09-01 10:14:55 UTC (rev 9060) @@ -53,7 +53,7 @@ function run($dbi, $argstr, &$request, $basepage) { - $args = ($this->getArgs($argstr, $request)); + $args = $this->getArgs($argstr, $request); $href = $args['href']; $page = $args['page']; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |