From fe8ab71111bbbed618ca30e8e6e7f2b3726a7c99 Mon Sep 17 00:00:00 2001 From: Clinton Graham Date: Wed, 17 May 2017 15:02:18 -0400 Subject: [PATCH] Remove call to undefined fatal_error() function. --- Model/Datasource/LdapSource.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Model/Datasource/LdapSource.php b/Model/Datasource/LdapSource.php index caef8f7..c4cae25 100644 --- a/Model/Datasource/LdapSource.php +++ b/Model/Datasource/LdapSource.php @@ -230,7 +230,7 @@ public function connect($bindDN = null, $passwd = null) { if ($config['tls']) { if (!ldap_start_tls($this->database)) { $this->log("Ldap_start_tls failed", 'ldap.error'); - fatal_error("Ldap_start_tls failed"); + return $this->disconnect(); } } //So little known fact, if your php-ldap lib is built against openldap like pretty much every linux