Fix variable not always being defined.

remotes/origin/ldap_group_count
josh4trunks 11 years ago
parent e77c9bb97e
commit ea162c8a39
  1. 2
      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;

Loading…
Cancel
Save