Permalink
Browse files

Added the missing $userold, now detecting updates (and pushing them o…

…ut to LDAP) should work.
  • Loading branch information...
1 parent 80729b0 commit d3af23581db103bc21057c04dac4c1a6d90cb0fc martinlanghoff committed Aug 10, 2005
Showing with 1 addition and 0 deletions.
  1. +1 −0 user/edit.php
View
@@ -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

0 comments on commit d3af235

Please sign in to comment.