Browse Source

HPCC-17393 Cannot delete Employee ID

Signed-off-by: Russ Whitehead <william.whitehead@lexisnexis.com>
Russ Whitehead 8 years ago
parent
commit
75b0979af0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      system/security/LdapSecurity/ldapconnection.cpp

+ 1 - 1
system/security/LdapSecurity/ldapconnection.cpp

@@ -2688,7 +2688,7 @@ public:
 
 
             const char * emplID = user.getEmployeeID();
-            char *employeeID_values[] = {(emplID && *emplID) ? (char*)emplID : NULL, NULL };
+            char *employeeID_values[] = {(emplID && *emplID) ? (char*)emplID : nullptr, nullptr };
             LDAPMod employeeID_attr =
             {
                 LDAP_MOD_REPLACE,