Issue #1780012 by dewens: Fixed "parameter 1 expected to be a reference" error in...
authorDavid Rothstein
Sat, 6 Oct 2012 05:05:57 +0000 (01:05 -0400)
committerDavid Rothstein
Sat, 6 Oct 2012 05:05:57 +0000 (01:05 -0400)
modules/profile/profile.module

index 6b00d42..d76d08a 100644 (file)
@@ -229,7 +229,7 @@ function profile_user_insert(&$edit, $account, $category) {
 /**
  * Implements hook_user_cancel().
  */
-function profile_user_cancel(&$edit, $account, $method) {
+function profile_user_cancel($edit, $account, $method) {
   switch ($method) {
     case 'user_cancel_reassign':
       db_delete('profile_value')