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

Billing location type required in Registration, checks for translated while location type BILLING can not be translated

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.0.1
    • Fix Version/s: 3.4.5, 4.0.5
    • Component/s: CiviEvent
    • Labels:
      None

      Description

      See forum post http://forum.civicrm.org/index.php?action=post;msg=83312

      In Dutch translation, when trying to register for an event the error: Please set a location type of 'Billing' is thrown, even if the location type Billing exists.
      It is a typical case of catch 22: you can not translate the location type BILLING yet CRM/Event/Form/Registration.php translates the billing type:
      [code]$this->_bltID = array_search( ts('Billing'), $locationTypes );
      [/code]

      change this to:
      [code]$this->_bltID = array_search( 'Billing', $locationTypes );
      [/code]
      and the issue is solved.

        Attachments

          Activity

            People

            • Assignee:
              erikhommel Erik Hommel
              Reporter:
              erikhommel Erik Hommel
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved:

                Time Tracking

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