From: <var...@us...> - 2021-09-30 14:27:24
|
Revision: 10607 http://sourceforge.net/p/phpwiki/code/10607 Author: vargenau Date: 2021-09-30 14:27:23 +0000 (Thu, 30 Sep 2021) Log Message: ----------- lib/plugin/CurrentTime.php: do not use extract, only one argument Modified Paths: -------------- trunk/lib/plugin/CurrentTime.php Modified: trunk/lib/plugin/CurrentTime.php =================================================================== --- trunk/lib/plugin/CurrentTime.php 2021-09-30 13:36:50 UTC (rev 10606) +++ trunk/lib/plugin/CurrentTime.php 2021-09-30 14:27:23 UTC (rev 10607) @@ -79,7 +79,8 @@ */ function run($dbi, $argstr, &$request, $basepage) { - extract($this->getArgs($argstr, $request)); + $args = $this->getArgs($argstr, $request); + $format = $args['format']; if ($format == 'date') { $format = '%Y-%m-%d'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |