move placeholder in SyncProfilesToLdap back in query and interpolate instead

This commit is contained in:
Colin Kuskie 2007-01-25 02:51:08 +00:00
parent b1e9169a4f
commit c5d0285d70
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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;