summaryrefslogtreecommitdiffstats
path: root/lib/public/Util.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Util.php')
-rw-r--r--lib/public/Util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/Util.php b/lib/public/Util.php
index 544808f5ece..74a4b18f5d4 100644
--- a/lib/public/Util.php
+++ b/lib/public/Util.php
@@ -260,7 +260,7 @@ class Util {
$host_name = \OC::$server->getRequest()->getServerHost();
// strip away port number (if existing)
$colon_pos = strpos($host_name, ':');
- if ($colon_pos != FALSE) {
+ if ($colon_pos != false) {
$host_name = substr($host_name, 0, $colon_pos);
}
return $host_name;