Reviewed:  https://reviews.mahara.org/11569
Committed: 
https://git.mahara.org/mahara/mahara/commit/9b172dc9bc772bf3dcb5308bf92b8d6e0b32aff4
Submitter: Robert Lyon (robe...@catalyst.net.nz)
Branch:    master

commit 9b172dc9bc772bf3dcb5308bf92b8d6e0b32aff4
Author: Lisa Seeto <lisase...@catalyst.net.nz>
Date:   Wed Feb 24 09:47:06 2021 +1300

Bug 1916648: Param must implement countable

- if count has been supplied, use that otherwise default to 10

Change-Id: I754a070198b4cff2b294a2326ccf6ae83932e73c
Signed-off-by: Lisa Seeto <lisase...@catalyst.net.nz>

-- 
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/1916648

Title:
  blocktype/externalfeed/lib.php:84  count(): Parameter must be an array
  or an object that implements Countable

Status in Mahara:
  Fix Committed
Status in Mahara 21.04 series:
  Fix Committed
Status in Mahara 21.10 series:
  Fix Committed

Bug description:
  We need to check that the variable is not empty and is an array before
  we can do the counting

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

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to