From: <var...@us...> - 2014-11-25 16:34:56
|
Revision: 9376 http://sourceforge.net/p/phpwiki/code/9376 Author: vargenau Date: 2014-11-25 16:34:47 +0000 (Tue, 25 Nov 2014) Log Message: ----------- Type compatibility Modified Paths: -------------- trunk/lib/PageList.php trunk/lib/plugin/EditMetaData.php trunk/lib/plugin/RecentChanges.php trunk/lib/plugin/text2png.php Modified: trunk/lib/PageList.php =================================================================== --- trunk/lib/PageList.php 2014-11-25 16:19:16 UTC (rev 9375) +++ trunk/lib/PageList.php 2014-11-25 16:34:47 UTC (rev 9376) @@ -1385,7 +1385,7 @@ /** * Add a column to this PageList, given a column object. * - * @param $col object An object derived from _PageList_Column. + * @param array|object $col An object derived from _PageList_Column. **/ function addColumnObject($col) { Modified: trunk/lib/plugin/EditMetaData.php =================================================================== --- trunk/lib/plugin/EditMetaData.php 2014-11-25 16:19:16 UTC (rev 9375) +++ trunk/lib/plugin/EditMetaData.php 2014-11-25 16:34:47 UTC (rev 9376) @@ -114,7 +114,7 @@ } if ($changed) { $dbi->touch(); - $url = $request->getURLtoSelf(false, + $url = $request->getURLtoSelf(array(), array('meta', 'metaedit', 'metafield', 'metavalue')); $request->redirect($url); // The rest of the output will not be seen due to the Modified: trunk/lib/plugin/RecentChanges.php =================================================================== --- trunk/lib/plugin/RecentChanges.php 2014-11-25 16:19:16 UTC (rev 9375) +++ trunk/lib/plugin/RecentChanges.php 2014-11-25 16:34:47 UTC (rev 9376) @@ -189,7 +189,7 @@ return HTML("(", $button, ")"); } - function pageLink($rev, $link_text = false) + function pageLink($rev, $link_text = '') { return WikiLink($this->include_versions_in_URLs() ? $rev : $rev->getPage(), Modified: trunk/lib/plugin/text2png.php =================================================================== --- trunk/lib/plugin/text2png.php 2014-11-25 16:19:16 UTC (rev 9375) +++ trunk/lib/plugin/text2png.php 2014-11-25 16:34:47 UTC (rev 9376) @@ -94,7 +94,7 @@ * '#000' => array(0,0,0) * '#000000' => array(0,0,0) */ - function hexcolor($h, $default = false) + function hexcolor($h, $default = array()) { if ($h[0] != '#') return $default; $rgb = substr($h, 1); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |