Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-6632

PHP warning in entriesform (68)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.5
    • Fix Version/s: 3.1.3, 3.2
    • Component/s: Set: Dataform
    • Labels:
      None

      Description

      PHP 7 emits warning: Parameter 1 to ... expected to be a reference, value given in C:\wamp\www\moodle\mod\dataform\classes\pluginbase\entriesform.php on line 68, on $mform.

      // If the element is an array, it contains a function.
      list($func, $params) = $element;
      call_user_func_array($func, array_merge(array($mform), $params));
      

        Attachments

          Activity

            People

            Assignee:
            itamart Itamar Tzadok
            Reporter:
            itamart Itamar Tzadok
            Participants:
            Component watchers:
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              14/Nov/16