Commit b4ffb7f8 authored by Martyn Smith's avatar Martyn Smith Committed by Martyn Smith
Browse files

param_boolean doesn't have "defaults"

parent 36a5c0bb
......@@ -31,10 +31,10 @@ require(dirname(dirname(__FILE__)) . '/init.php');
json_headers();
$pending = param_boolean('pending', false);
$pending = param_boolean('pending');
$limit = param_integer('limit', 10);
$offset = param_integer('offset', 0);
$control = param_boolean('control', false);
$control = param_boolean('control');
$prefix = get_config('dbprefix');
$userid = $USER->get('id');
......
Supports Markdown
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