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

Remove useless latlong formatting operations

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.9.1
    • 1.9.2
    • None
    • Any
    • MOODLE_19_STABLE
    • 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

            roal Robert Allerstorfer
            roal Robert Allerstorfer
            Jake Dallimore, Mathew May, Mihail Geshoski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11/Jul/08