Skip to content
Snippets Groups Projects
Commit f6bb7aab authored by Marius Burkard's avatar Marius Burkard
Browse files

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

Fix APS installer limits check

See merge request ispconfig/ispconfig3!940
parents 9d05ac19 8c9f7aa3
No related branches found
No related tags found
No related merge requests found
...@@ -49,8 +49,8 @@ $app->load_language_file('web/sites/'.$lngfile); ...@@ -49,8 +49,8 @@ $app->load_language_file('web/sites/'.$lngfile);
// we will check only users, not admins // we will check only users, not admins
if($_SESSION["s"]["user"]["typ"] == 'user') { if($_SESSION["s"]["user"]["typ"] == 'user') {
$app->tform->formDef['db_table_idx'] = 'client_id'; $app->tform->formDef['db_table_idx'] = 'id';
$app->tform->formDef['db_table'] = 'client'; $app->tform->formDef['db_table'] = 'aps_instances';
if(!$app->tform->checkClientLimit('limit_aps')) { if(!$app->tform->checkClientLimit('limit_aps')) {
$app->error($app->lng("limit_aps_txt")); $app->error($app->lng("limit_aps_txt"));
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment