--- ldapprov.module     26 Sep 2007 20:15:05 -0000      1.1
+++ ldapprov.module     15 Oct 2007 21:24:39 -0000
@@ -778,7 +778,7 @@
     }

     // Profiles
-    if (module_exists('captcha')) {
+    if (module_exists('profile')) {
       variable_set('ldapprov_profile', $edit['ldapprov_profile']);
       variable_set('ldapprov_profile_first', $edit['ldapprov_profile_first']);
       variable_set('ldapprov_profile_last', $edit['ldapprov_profile_last']);