← Back to team overview

mahara-contributors team mailing list archive

[Bug 1927675] [NEW] ActivityTypeMaharamessage may throw php warnings

 

Public bug reported:

It looks like ActivityTypeMaharamessage may throw php warnings.

The __constructor() takes $data as an array. Phe parent::__constructor()
treats it as an array. However, there is a check on $data where it is
treated as an object.

Investigation needed to verify.  At a minimum $includesuspendedusers is
likely to always be false.

** Affects: mahara
     Importance: Undecided
     Assignee: Gold (gold.catalyst)
         Status: New

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1927675

Title:
  ActivityTypeMaharamessage may throw php warnings

Status in Mahara:
  New

Bug description:
  It looks like ActivityTypeMaharamessage may throw php warnings.

  The __constructor() takes $data as an array. Phe
  parent::__constructor() treats it as an array. However, there is a
  check on $data where it is treated as an object.

  Investigation needed to verify.  At a minimum $includesuspendedusers
  is likely to always be false.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1927675/+subscriptions


Follow ups