diff options
author | josh4trunks <joshruehlig@gmail.com> | 2014-06-04 23:03:13 -0700 |
---|---|---|
committer | josh4trunks <joshruehlig@gmail.com> | 2014-06-04 23:03:13 -0700 |
commit | ea162c8a39188450636548f4613d96c39cac8a04 (patch) | |
tree | 3f1a7f4402cbf366d44e73196a60b1c3e0c06332 /lib | |
parent | e77c9bb97ed56d30c08f7d7ea9c06dd80ac9467b (diff) | |
download | nextcloud-server-ea162c8a39188450636548f4613d96c39cac8a04.tar.gz nextcloud-server-ea162c8a39188450636548f4613d96c39cac8a04.zip |
Fix variable not always being defined.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/db.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/db.php b/lib/private/db.php index 16030a20f89..f5fd9fb6ad9 100644 --- a/lib/private/db.php +++ b/lib/private/db.php @@ -67,6 +67,8 @@ class OC_DB { list($host, $port)=explode(':', $host, 2); if(!is_int($port)||$port<1||$port>65535) { $socket=true; + } else { + $socket=false; } } else { $port=false; |