Skip to content

Commit ea10bfc

Browse files
author
mcramer
committed
Bugfix: app->tform is not defined on remoting api
1 parent 94d2cf4 commit ea10bfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/sites/form/web_folder_user.tform.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
$form["auth_preset"]["perm_group"] = 'riud'; //r = read, i = insert, u = update, d = delete
5151
$form["auth_preset"]["perm_other"] = ''; //r = read, i = insert, u = update, d = delete
5252

53-
$auth_sql = $app->tform->getAuthSQL('r', 'web_domain');
53+
$auth_sql = (isset($app->tform) ? $app->tform->getAuthSQL('r', 'web_domain') : '1');
5454

5555
$form["tabs"]['user'] = array (
5656
'title' => "Folder",

0 commit comments

Comments
 (0)