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

$SESSION now is an object and have to be used as an object

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.0
    • Feedback
    • None
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

    Description

      The following statement is currently not working:
      $SESSION->feedback->lstgroupid = xxx

      We have to initialize the $SESSION->feedback as an object before:
      $SESSION->feedback = new object();
      $SESSION->feedback->lstgroupid = xxx;
      That works!

      Attachments

        Activity

          People

            grabs Andreas Grabs
            grabs Andreas Grabs
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              24/Nov/10