[Pkg-owncloud-commits] [owncloud] 13/223: Fix variable not always being defined.
David Prévot
taffit at moszumanska.debian.org
Sun Jun 22 01:53:59 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit ea162c8a39188450636548f4613d96c39cac8a04
Author: josh4trunks <joshruehlig at gmail.com>
Date: Wed Jun 4 23:03:13 2014 -0700
Fix variable not always being defined.
---
lib/private/db.php | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/private/db.php b/lib/private/db.php
index 16030a2..f5fd9fb 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;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list