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

Declare arguments to $DB->sql_concat()

XMLWordPrintable

      Function $DB->sql_concat() takes a variable number of arguments. It is defined in the moodle_database class as not having arguments.
      IDEs raise a lot of false-positive errors about it.

      There is a way in modern PHP to define such arguments

            marina Marina Glancy
            marina Marina Glancy
            Paul Holden Paul Holden
            Andrew Lyons Andrew Lyons
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 43 minutes
                1h 43m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.