Skip to content

Commit fd9b893

Browse files
committed
Don't check permissions of the web when a user wants to create a new cronjob
1 parent 3315b7d commit fd9b893

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

interface/web/sites/ajax_get_json.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,10 +253,11 @@
253253
$web_docroot_client = '';
254254

255255
if($web_id > 0) {
256+
256257
$web = $app->db->queryOneRecord("SELECT wd.sys_groupid, wd.domain, wd.document_root, sp.php_cli_binary
257258
FROM web_domain wd
258259
LEFT JOIN server_php sp ON wd.server_php_id = sp.server_php_id
259-
WHERE wd.domain_id = ? AND ".$app->tform->getAuthSQL('r'), $web_id);
260+
WHERE wd.domain_id = ?", $web_id);
260261

261262
$php_cli_binary = $web['php_cli_binary'];
262263

0 commit comments

Comments
 (0)