From: Aaron Schulz Date: Fri, 9 Mar 2007 22:57:25 +0000 (+0000) Subject: *Have user agent return '' rather than NULL X-Git-Tag: 1.31.0-rc.0~53822 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/bilan.php?a=commitdiff_plain;h=569fa7cf8b1f8eb4187f73ee2ff89c3712c2fa1c;p=lhc%2Fweb%2Fwiklou.git *Have user agent return '' rather than NULL --- diff --git a/includes/ProxyTools.php b/includes/ProxyTools.php index d957f380b9..cc0d340bca 100644 --- a/includes/ProxyTools.php +++ b/includes/ProxyTools.php @@ -62,7 +62,7 @@ function wfGetAgent() { if( isset( $set[$index] ) ) { return $set[$index]; } else { - return null; + return ''; } }