From e0391de90674e759a73d08517641e6207606493f Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 30 Sep 2013 13:42:29 -0700 Subject: there's no $a in comanche_block() (zottel) --- include/comanche.php | 3 ++- version.inc | 2 +- 2 files changed, 3 insertions(+), 2 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) { diff --git a/version.inc b/version.inc index a87ce0f32..34d36cab2 100644 --- a/version.inc +++ b/version.inc @@ -1 +1 @@ -2013-09-29.451 +2013-09-30.452 -- cgit v1.2.3