Commit f6bb7aab authored by Marius Burkard's avatar Marius Burkard

Merge branch 'feature/fix-aps-limits-check' into 'stable-3.1'

Fix APS installer limits check

See merge request !940
parents 9d05ac19 8c9f7aa3
......@@ -49,8 +49,8 @@ $app->load_language_file('web/sites/'.$lngfile);
// we will check only users, not admins
if($_SESSION["s"]["user"]["typ"] == 'user') {
$app->tform->formDef['db_table_idx'] = 'client_id';
$app->tform->formDef['db_table'] = 'client';
$app->tform->formDef['db_table_idx'] = 'id';
$app->tform->formDef['db_table'] = 'aps_instances';
if(!$app->tform->checkClientLimit('limit_aps')) {
$app->error($app->lng("limit_aps_txt"));
}
......
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