Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117931797
D4025.1775466535.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
D4025.1775466535.diff
View Options
diff --git a/lib/kolab_sync.php b/lib/kolab_sync.php
--- a/lib/kolab_sync.php
+++ b/lib/kolab_sync.php
@@ -45,6 +45,8 @@
public $username;
public $password;
+ public $task = null;
+
const CHARSET = 'UTF-8';
const VERSION = "2.3.22";
@@ -207,7 +209,7 @@
}
// LDAP server failure... send 503 error
- if ($auth['kolab_ldap_error']) {
+ if ($auth['kolab_ldap_error'] ?? null) {
self::server_error();
}
@@ -223,7 +225,7 @@
}
// Authenticate - get Roundcube user ID
- if (!$auth['abort'] && ($userid = $this->login($auth['user'], $auth['pass'], $auth['host'], $err))) {
+ if (!($auth['abort'] ?? false) && ($userid = $this->login($auth['user'], $auth['pass'], $auth['host'], $err))) {
// set real username
$this->username = $auth['user'];
return $userid;
@@ -298,6 +300,7 @@
// parse $host
$a_host = parse_url($host);
+ $port = null;
if ($a_host['host']) {
$host = $a_host['host'];
$ssl = (isset($a_host['scheme']) && in_array($a_host['scheme'], array('ssl','imaps','tls'))) ? $a_host['scheme'] : null;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 6, 9:08 AM (15 h, 1 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18836334
Default Alt Text
D4025.1775466535.diff (1 KB)
Attached To
Mode
D4025: PHP 8 fixes
Attached
Detach File
Event Timeline