This commit is contained in:
Mike Macgirvin 2022-09-04 13:01:34 +10:00
parent b6d635d89d
commit 67936ba61e
2 changed files with 1 additions and 4 deletions

2
.vscode/launch.json vendored
View file

@ -8,7 +8,7 @@
"port": 9003, "port": 9003,
"log": false, "log": false,
"pathMappings": { "pathMappings": {
"/app/": "${workspaceFolder}/", "/app/": "${workspaceFolder}/"
} }
} }
] ]

View file

@ -75,13 +75,10 @@ class Defperms extends Controller
goaway(z_root() . '/connections'); goaway(z_root() . '/connections');
} }
if (intval($orig_record[0]['abook_self'])) { if (intval($orig_record[0]['abook_self'])) {
$autoperms = intval($_POST['autoperms']); $autoperms = intval($_POST['autoperms']);
$is_self = true;
} else { } else {
$autoperms = null; $autoperms = null;
$is_self = false;
} }
$all_perms = Permissions::Perms(); $all_perms = Permissions::Perms();