Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-15423

Remove useless latlong formatting operations

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.9.1
    • Fix Version/s: 1.9.2
    • Labels:
      None
    • Database:
      Any
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      While formatting the output to display a latlong field in list or single view, currently some completely useless operations are being applied, such as a concatenation in the form

      "" . $string (instead of just $string)

      or a subtraction in the form

      0 - $number (instead of just -$number)

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/Jul/08