From de17449ee081c57811d1adf1b849a892164124f5 Mon Sep 17 00:00:00 2001 From: Mark Unwin Date: Wed, 20 Feb 2019 13:11:52 +1000 Subject: [PATCH] Fix bug in test. --- code_igniter/application/controllers/db_upgrades/db_2.3.2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code_igniter/application/controllers/db_upgrades/db_2.3.2.php b/code_igniter/application/controllers/db_upgrades/db_2.3.2.php index c98875e70..e2f0c7e51 100644 --- a/code_igniter/application/controllers/db_upgrades/db_2.3.2.php +++ b/code_igniter/application/controllers/db_upgrades/db_2.3.2.php @@ -151,7 +151,7 @@ foreach ($json as $item) { $item->credentials = simpleEncrypt($item->credentials); $field = 'credentials'; - if ($item->type = 'ldap_servers') { + if ($item->type == 'ldap_servers') { $field = 'dn_password'; } $sql = "UPDATE `" . $item->type . "` SET `" . $field . "` = ?, `edited_by` = 'system', `edited_date` = NOW() WHERE `id` = ?";