aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-11-03 11:57:35 +0000
committerMario <mario@mariovavti.com>2022-11-03 11:57:35 +0000
commitc2a796b6ea4a8af23494e72e6c446ea847bf9627 (patch)
treeb5af7dfaf8f5f5cb89d148b9bcc696648831a3a6 /Zotlabs/Module
parent00694f0dfd03ab51c511a0ba35c98cfe1e22f918 (diff)
downloadvolse-hubzilla-c2a796b6ea4a8af23494e72e6c446ea847bf9627.tar.gz
volse-hubzilla-c2a796b6ea4a8af23494e72e6c446ea847bf9627.tar.bz2
volse-hubzilla-c2a796b6ea4a8af23494e72e6c446ea847bf9627.zip
rename variable and warning fixes
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Acl.php2
-rw-r--r--Zotlabs/Module/Pconfig.php3
2 files changed, 3 insertions, 2 deletions
diff --git a/Zotlabs/Module/Acl.php b/Zotlabs/Module/Acl.php
index f8c6232c5..bcd79c873 100644
--- a/Zotlabs/Module/Acl.php
+++ b/Zotlabs/Module/Acl.php
@@ -304,7 +304,7 @@ class Acl extends \Zotlabs\Web\Controller {
}
elseif($type == 'a') {
- $r = q("SELECT abook_id as id, xchan_name as name, xchan_network as net, xchan_hash as hash, xchan_addr as nick, xchan_photo_s as micro, xchan_url as url, xchan_addr as attag , abook_their_perms FROM abook left join xchan on abook_xchan = xchan_hash
+ $r = q("SELECT abook_id as id, xchan_name as name, xchan_network as net, xchan_hash as hash, xchan_addr as nick, xchan_photo_s as micro, xchan_url as url, xchan_addr as attag, abook_their_perms, abook_self FROM abook left join xchan on abook_xchan = xchan_hash
WHERE abook_channel = %d
and xchan_deleted = 0
$sql_extra3
diff --git a/Zotlabs/Module/Pconfig.php b/Zotlabs/Module/Pconfig.php
index 62d17e694..106254050 100644
--- a/Zotlabs/Module/Pconfig.php
+++ b/Zotlabs/Module/Pconfig.php
@@ -13,8 +13,9 @@ class Pconfig extends \Zotlabs\Web\Controller {
return;
- if(isset($_SESSION['delegate']))
+ if(isset($_SESSION['delegate'])) {
return;
+ }
check_form_security_token_redirectOnErr('/pconfig', 'pconfig');