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,7 +100,7 @@ class FixtureController extends Controller
*
* @throws Exception if the specified fixture does not exist.
*/
public function actionLoad()
public function actionLoad($fixturesInput)
{
$fixturesInput = func_get_args();
$filtered = $this->filterFixtures($fixturesInput);
......
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