diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index f53a62f35..c65e1870d 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -4,6 +4,7 @@ multipart/alternative messages would cause a blank post. - Fixed the 7.3.0-7.3.1 upgrade script so it doesn't cause multi-site upgrades to fail. + - fix: ldap workflow bug (perlDreamer Consulting, LLC) 7.3.6 - fix: Checkbox is no longer available when creating custom profile fields diff --git a/lib/WebGUI/Workflow/Activity/SyncProfilesToLdap.pm b/lib/WebGUI/Workflow/Activity/SyncProfilesToLdap.pm index b411b5aa9..eeb60cbcb 100644 --- a/lib/WebGUI/Workflow/Activity/SyncProfilesToLdap.pm +++ b/lib/WebGUI/Workflow/Activity/SyncProfilesToLdap.pm @@ -129,7 +129,7 @@ sub execute { my @fieldNames = $self->session->db->buildArray("SELECT fieldName FROM userProfileField WHERE profileCategoryId <> 4"); my $index = $instance->getScratch('ldapSelectIndex') || 0; - my $sth = $self->session->db->read("SELECT u.userId AS userId, a1.fieldData AS ldapConnection FROM users AS u INNER JOIN authentication AS a1 ON u.userId = a1.userId WHERE a1.fieldName = 'ldapConnection' AND u.authMethod = 'LDAP' ORDER BY ldapConnection, userId LIMIT ?,18446744073709551615", [$index]); + my $sth = $self->session->db->read("SELECT u.userId AS userId, a1.fieldData AS ldapConnection FROM users AS u INNER JOIN authentication AS a1 ON u.userId = a1.userId WHERE a1.fieldName = 'ldapConnection' AND u.authMethod = 'LDAP' ORDER BY ldapConnection, userId LIMIT $index,18446744073709551615"); my ($currentLinkId, $link, $ldapUrl, $ldap); my $skippingLink = 0;