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

Fix smarty syntax typos where {else if} is used instead of the correct {elseif}

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.3.6, 3.4.alpha, 3.4.beta, 3.4.0, 3.4.1, 3.4.2, 3.4.3, 3.4.4, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4
    • Fix Version/s: 3.4.5, 4.0.5
    • Component/s: CiviCRM Profile
    • Labels:
      None

      Description

      I grep'd for instances of the incorrect syntax

      {else if}

      and replaced with the correct syntax

      {elseif}

      .

      grep -rn '{else if' . | grep -v svn
      ./Activity/Form/Activity.tpl:269:

      {else if $action eq 1 OR $action eq 2}

      ./Event/Form/Participant.tpl:137:

      {else if $participantMode == 'live'}

      ./Profile/Form/Dynamic.tpl:123:

      {else if $n|substr:0:4 eq 'url-'}

      ./UF/Form/Block.tpl:104:

      {else if $n|substr:0:4 eq 'url-'}

      — original post —
      minor typo in profile tpl
      patch attached

        Attachments

          Activity

            People

            • Assignee:
              dgg David Greenberg
              Reporter:
              lcdweb Brian Shaughnessy
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: