** Changed in: mahara
    Milestone: None => 1.4.0

** Changed in: mahara
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Mahara
Committers, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/783721

Title:
  The custom ViewACL element breaks if any items in the 'allowed' list
  are removed

Status in Mahara ePortfolio:
  In Progress

Bug description:
  This means that if the site admin blocks the ability to share views
  with the public, the entire 'allowed' list disappears, rather than
  just the public part.

  What happens is json_encode() converts an array with non-contiguous
  keys or those that aren't zero-based into an object, which then can't
  be iterated over. The fix is to run array_merge() over the array
  before json_encode() to effect a renumber.

_______________________________________________
Mailing list: https://launchpad.net/~mahara-core
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mahara-core
More help   : https://help.launchpad.net/ListHelp

Reply via email to