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

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Feedback
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      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

            Assignee:
            grabs Andreas Grabs
            Reporter:
            grabs Andreas Grabs
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              24/Nov/10