From: <var...@us...> - 2014-11-10 19:46:54
|
Revision: 9302 http://sourceforge.net/p/phpwiki/code/9302 Author: vargenau Date: 2014-11-10 19:46:50 +0000 (Mon, 10 Nov 2014) Log Message: ----------- Type compatibility Modified Paths: -------------- trunk/lib/config.php trunk/lib/display.php Modified: trunk/lib/config.php =================================================================== --- trunk/lib/config.php 2014-11-10 19:35:50 UTC (rev 9301) +++ trunk/lib/config.php 2014-11-10 19:46:50 UTC (rev 9302) @@ -107,8 +107,10 @@ * => "de" * We should really check additionally if the i18n HomePage version is defined. * So must defer this to the request loop. + * + * @param array $languages */ -function guessing_lang($languages = false) +function guessing_lang($languages = array()) { if (!$languages) { // make this faster Modified: trunk/lib/display.php =================================================================== --- trunk/lib/display.php 2014-11-10 19:35:50 UTC (rev 9301) +++ trunk/lib/display.php 2014-11-10 19:46:50 UTC (rev 9302) @@ -219,10 +219,10 @@ /** * @param WikiRequest $request - * @param bool $template + * @param Template $template * @return string */ -function displayPage(&$request, $template = false) +function displayPage(&$request, $template = null) { global $WikiTheme; global $robots; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |