summaryrefslogtreecommitdiffstats
path: root/lib/private/installer.php
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2014-06-06 09:41:33 +0200
committerGeorg Ehrke <developer@georgehrke.com>2014-06-06 09:41:53 +0200
commita110973b3a7d10c630e901e5ee7fb77b7a1e0f28 (patch)
tree59003b6fb1a651804aba3271c30037d1375257c7 /lib/private/installer.php
parent498aa6664807cca87a1ca8d2fd0d3d609430bae8 (diff)
downloadnextcloud-server-a110973b3a7d10c630e901e5ee7fb77b7a1e0f28.tar.gz
nextcloud-server-a110973b3a7d10c630e901e5ee7fb77b7a1e0f28.zip
some additional type checks
Diffstat (limited to 'lib/private/installer.php')
-rw-r--r--lib/private/installer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/installer.php b/lib/private/installer.php
index c0fc5304d4a..1589610aed4 100644
--- a/lib/private/installer.php
+++ b/lib/private/installer.php
@@ -173,7 +173,7 @@ class OC_Installer{
$basedir .= '/';
$basedir .= $info['id'];
- if($currentDir !== null && is_writable($currentDir)) {
+ if($currentDir !== false && is_writable($currentDir)) {
$basedir = $currentDir;
}
if(is_dir($basedir)) {