|
From: <var...@us...> - 2014-11-17 14:51:54
|
Revision: 9316
http://sourceforge.net/p/phpwiki/code/9316
Author: vargenau
Date: 2014-11-17 14:51:47 +0000 (Mon, 17 Nov 2014)
Log Message:
-----------
Replace "or" with "||" to get correct priority
Modified Paths:
--------------
trunk/lib/config.php
Modified: trunk/lib/config.php
===================================================================
--- trunk/lib/config.php 2014-11-17 14:48:27 UTC (rev 9315)
+++ trunk/lib/config.php 2014-11-17 14:51:47 UTC (rev 9316)
@@ -87,7 +87,7 @@
function isBrowserSafari($version = false)
{
$found = browserDetect('Spoofer/');
- $found = browserDetect('AppleWebKit/') or $found;
+ $found = browserDetect('AppleWebKit/') || $found;
if ($version)
return $found and browserVersion() >= $version;
return $found;
@@ -109,6 +109,7 @@
* So must defer this to the request loop.
*
* @param array $languages
+ * @return string
*/
function guessing_lang($languages = array())
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|