Added the missing $userold, now detecting updates (and pushing them out to LDAP) should work.

This commit is contained in:
martinlanghoff
2005-08-10 05:34:08 +00:00
parent 80729b01d0
commit d3af23581d
+1
View File
@@ -197,6 +197,7 @@
$usernew->url = "http://".$usernew->url;
}
$userold = get_record('user','id',$usernew->id);
if (update_record("user", $usernew)) {
if (function_exists("auth_user_update")){
// pass a true $userold here