← Back to team overview

mahara-contributors team mailing list archive

[Bug 1394754] A patch has been submitted for review

 

Patch for "master" branch: https://reviews.mahara.org/4013

-- 
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:
  In Progress

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