Commit 2bfec326 by Carsten Brandt

Proper error message when fixture controller is called without input

before: failed with undefined index PHP error now: fail with proper error complaining about missing argument.
parent c03ca751
...@@ -100,8 +100,8 @@ class FixtureController extends Controller ...@@ -100,8 +100,8 @@ class FixtureController extends Controller
* *
* @throws Exception if the specified fixture does not exist. * @throws Exception if the specified fixture does not exist.
*/ */
public function actionLoad() public function actionLoad($fixturesInput)
{ {
$fixturesInput = func_get_args(); $fixturesInput = func_get_args();
$filtered = $this->filterFixtures($fixturesInput); $filtered = $this->filterFixtures($fixturesInput);
$except = $filtered['except']; $except = $filtered['except'];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment