mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #22542
[Bug 1394754] Re: calling _get_cli_params() when no params present needs fixing
** Changed in: mahara
Status: In Progress => 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/1394754
Title:
calling _get_cli_params() when no params present needs fixing
Status in Mahara ePortfolio:
Fix Committed
Bug description:
Noticed this when testing something else
The _get_cli_params() function doesn't check if there are argv options
before trying to array_search/array_slice/foreach them
need to wrap it in a if (!empty($options)) { }
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1394754/+subscriptions
References