Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.4.8
    • Fix Version/s: 4.1.1
    • Labels:
      None

      Description

      When calling hook_user with $category = 'register', drupal makes all arguments ($edit, $account, ...) null. However, in function user_register_data(), called by civicrm_user(), it assumes that the $account object or in this case, the $user object, is an object, which causes php notices.

      Also in the function user_register_data(), the variable $userID is assumed to be populated when it's not in the "else" statement.

      I'm not very familiar with svn or civicrm version control practices, so I may have checked out an outdated version of code, but I think I got the latest version when I applied the patch.

        Attachments

          Activity

            People

            • Assignee:
              kurund Kurund Jalmi
              Reporter:
              schultetwin Mark Schulte
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 5 minutes
                5m
                Remaining:
                Remaining Estimate - 5 minutes
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified