Fix variable not always being defined.

remotes/origin/ldap_group_count
josh4trunks 2014-06-04 23:03:13 +07:00
parent e77c9bb97e
commit ea162c8a39
1 changed files with 2 additions and 0 deletions

@ -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;