aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-09-30 13:42:29 -0700
committerfriendica <info@friendica.com>2013-09-30 13:42:29 -0700
commite0391de90674e759a73d08517641e6207606493f (patch)
tree54efc9d7671bdb4e5488be0676b481988aaabee2 /include
parenta8ebd7e3fa86b1d3e3e05f31b7e13649e9b9edac (diff)
downloadvolse-hubzilla-e0391de90674e759a73d08517641e6207606493f.tar.gz
volse-hubzilla-e0391de90674e759a73d08517641e6207606493f.tar.bz2
volse-hubzilla-e0391de90674e759a73d08517641e6207606493f.zip
there's no $a in comanche_block() (zottel)
Diffstat (limited to 'include')
-rw-r--r--include/comanche.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/comanche.php b/include/comanche.php
index 42c8e045c..526819572 100644
--- a/include/comanche.php
+++ b/include/comanche.php
@@ -85,9 +85,10 @@ function comanche_replace_region($match) {
}
function comanche_block($name) {
+
$o = '';
$r = q("select * from item left join item_id on iid = item_id and item_id.uid = item.uid and item.uid = %d and service = 'BUILDBLOCK' and sid = '%s' limit 1",
- intval($a->profile['profile_uid']),
+ intval(get_app()->profile['profile_uid']),
dbesc($name)
);
if($r) {