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

"$error = true" code style weirdness in civicrm.module

    Details

    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code

      Description

      Thought this was quite weird to read so making it read a bit more sanely to my eye.

      Before:

      {{$error = include('CRM/Core/Config.php');
      if (!$error)

      { // do error }}}

      After:

      {{if (!include('CRM/Core/Config.php')) { // do error }

      }}

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              xurizaemon Chris Burgess
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: