Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-4416

CRM_Core_BAO_CMSUser::userExists always fails with "Unknown user framework"

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.0, 2.1.2, 2.1.4, 2.1.5, 2.1, 2.2.0, 2.2.1, 2.2.2
    • Fix Version/s: 2.2.3
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      Line #399:

      if ( !$isDrupal OR !$isJoomla )

      { die( "Unknown user framework" ); }

      This conditional is always false since $config->userFramework is either Drupal or Joomla.

      Fix: ( !$isDrupal && !$isJoomla )

        Attachments

          Activity

            People

            • Assignee:
              kurund Kurund Jalmi
              Reporter:
              jonah Jonah Ellison
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 minute
                1m
                Remaining:
                Remaining Estimate - 1 minute
                1m
                Logged:
                Time Spent - Not Specified
                Not Specified