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

Avoid using the variable name 'name' in smarty templates ..

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.1
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      We should also avoid using it as a smarty variable as good programming principles. the smarty scope is global and hence overwrites an assigned variable. gotten a couple of reports on the forum about this:

      http://forum.civicrm.org/index.php/topic,3869.msg17042.html#msg17042

        Attachments

          Activity

            People

            • Assignee:
              neha.saraph Neha Kulkarni
              Reporter:
              lobo Donald A. Lobo
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: