mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #22573
[Bug 1394754] A change has been merged
Reviewed: https://reviews.mahara.org/4020
Committed: http://gitorious.org/mahara/mahara/commit/7a4429ec540115d90da3925e4ba73021e52cc80f
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch: 1.10_STABLE
commit 7a4429ec540115d90da3925e4ba73021e52cc80f
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date: Fri Nov 21 10:20:28 2014 +1300
Making sure options exist for _get_cli_params() (Bug 1394754)
Change-Id: I4f75dfc9f34c3f9e3f01d8d459b6ec7a43f13689
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
--
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