Skip to content

Commit 8c9f7aa

Browse files
author
Webslice
committed
Fix APS installer limits check
1 parent 40d783f commit 8c9f7aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

interface/web/sites/aps_install_package.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@
4949

5050
// we will check only users, not admins
5151
if($_SESSION["s"]["user"]["typ"] == 'user') {
52-
$app->tform->formDef['db_table_idx'] = 'client_id';
53-
$app->tform->formDef['db_table'] = 'client';
52+
$app->tform->formDef['db_table_idx'] = 'id';
53+
$app->tform->formDef['db_table'] = 'aps_instances';
5454
if(!$app->tform->checkClientLimit('limit_aps')) {
5555
$app->error($app->lng("limit_aps_txt"));
5656
}

0 commit comments

Comments
 (0)