diff options
author | friendica <info@friendica.com> | 2013-11-14 14:19:20 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-11-14 14:19:20 -0800 |
commit | 49a392942cbea18432c44f227804e3cc8f5d79b0 (patch) | |
tree | b1bbdec9031d2e60fab9d1d129105779b1273e59 /mod/magic.php | |
parent | ee629534d5245443152797bae81768680b5dda85 (diff) | |
download | volse-hubzilla-49a392942cbea18432c44f227804e3cc8f5d79b0.tar.gz volse-hubzilla-49a392942cbea18432c44f227804e3cc8f5d79b0.tar.bz2 volse-hubzilla-49a392942cbea18432c44f227804e3cc8f5d79b0.zip |
acl in webpages and a couple of other little bits related to webpages - sort the list of pages by last edited and use prepare_body() so we get private stuff (and attachments, categories, etc.) formatted correctly
Diffstat (limited to 'mod/magic.php')
-rw-r--r-- | mod/magic.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/magic.php b/mod/magic.php index 623a80751..4eb688767 100644 --- a/mod/magic.php +++ b/mod/magic.php @@ -33,10 +33,12 @@ function magic_init(&$a) { if(count($b) >= 2) { $u = $b[0] . '//' . $b[2]; +dbg(1); $x = q("select xchan.xchan_url, hubloc.* from xchan left join hubloc on xchan_hash = hubloc_hash where hubloc_url = '%s' order by hubloc_id desc limit 1", dbesc($u) ); +dbg(0); } } |