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

Undefined index: recipientemails in mod\dataform\classes\observer\notification.php on line 141

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.6.3
    • 2.6.3
    • Set: Dataform
    • None
    • MOODLE_26_STABLE
    • MOODLE_26_STABLE

    Description

      Undefined index: recipientemails in mod\dataform\classes\observer\notification.php on line 141

      Possible solution, change

      if ($recipients = $data['recipientemails']) {
      

      to

      if (!empty($data['recipientemails'])) {
          $recipients = $data['recipientemails'];
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              12/May/14