mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #19644
[Bug 1315960] Re: get_default_category() not robust enough
** Changed in: mahara
Status: Confirmed => Fix Committed
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1315960
Title:
get_default_category() not robust enough
Status in Mahara ePortfolio:
Fix Committed
Bug description:
when testing out a new plugin I found the check in
View->get_default_category() caused problems if there was nothing set
with sort order = 0 or if the blocktypes of the item with sort order =
0 were hidden on extensions page.
The problem stems from not trying to get the first item in array but
the item with key = 0.
will add patch for fix
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1315960/+subscriptions
References