File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ function onShowNew() {
6161 $ client_group_id = $ app ->functions ->intval ($ _SESSION ["s " ]["user " ]["default_group " ]);
6262 $ client = $ app ->db ->queryOneRecord ("SELECT limit_client FROM sys_group, client WHERE sys_group.client_id = client.client_id and sys_group.groupid = ? " , $ client_group_id );
6363
64- // Check if the user may add another website .
64+ // Check if the user may add another.
6565 if ($ client ["limit_client " ] >= 0 ) {
6666 $ tmp = $ app ->db ->queryOneRecord ("SELECT count(client_id) as number FROM client WHERE sys_groupid = ? " , $ client_group_id );
6767 if ($ tmp ["number " ] >= $ client ["limit_client " ]) {
@@ -84,7 +84,7 @@ function onSubmit() {
8484 $ client_group_id = $ _SESSION ["s " ]["user " ]["default_group " ];
8585 $ client = $ app ->db ->queryOneRecord ("SELECT limit_client FROM sys_group, client WHERE sys_group.client_id = client.client_id and sys_group.groupid = ? " , $ client_group_id );
8686
87- // Check if the user may add another website .
87+ // Check if the user may add another.
8888 if ($ client ["limit_client " ] >= 0 ) {
8989 $ tmp = $ app ->db ->queryOneRecord ("SELECT count(client_id) as number FROM client WHERE sys_groupid = ? " , $ client_group_id );
9090 if ($ tmp ["number " ] >= $ client ["limit_client " ]) {
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ function onShowNew() {
6363 $ client_group_id = $ app ->functions ->intval ($ _SESSION ["s " ]["user " ]["default_group " ]);
6464 $ client = $ app ->db ->queryOneRecord ("SELECT limit_client FROM sys_group, client WHERE sys_group.client_id = client.client_id and sys_group.groupid = ? " , $ client_group_id );
6565
66- // Check if the user may add another website .
66+ // Check if the user may add another.
6767 if ($ client ["limit_client " ] >= 0 ) {
6868 $ tmp = $ app ->db ->queryOneRecord ("SELECT count(client_id) as number FROM client WHERE sys_groupid = ? " , $ client_group_id );
6969 if ($ tmp ["number " ] >= $ client ["limit_client " ]) {
@@ -86,7 +86,7 @@ function onSubmit() {
8686 $ client_group_id = $ app ->functions ->intval ($ _SESSION ["s " ]["user " ]["default_group " ]);
8787 $ client = $ app ->db ->queryOneRecord ("SELECT limit_client FROM sys_group, client WHERE sys_group.client_id = client.client_id and sys_group.groupid = ? " , $ client_group_id );
8888
89- // Check if the user may add another website .
89+ // Check if the user may add another.
9090 if ($ client ["limit_client " ] >= 0 ) {
9191 $ tmp = $ app ->db ->queryOneRecord ("SELECT count(client_id) as number FROM client WHERE sys_groupid = ? " , $ client_group_id );
9292 if ($ tmp ["number " ] >= $ client ["limit_client " ]) {
You can’t perform that action at this time.
0 commit comments