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

PHP warning in entriesform (68)

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.5
    • 3.1.3, 3.2
    • Set: Dataform
    • 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

            itamart Itamar Tzadok
            itamart Itamar Tzadok
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              14/Nov/16