there's no $a in comanche_block() (zottel)

This commit is contained in:
friendica 2013-09-30 13:42:29 -07:00
parent a8ebd7e3fa
commit e0391de906
2 changed files with 3 additions and 2 deletions

View File

@ -85,9 +85,10 @@ function comanche_replace_region($match) {
} }
function comanche_block($name) { function comanche_block($name) {
$o = ''; $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", $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) dbesc($name)
); );
if($r) { if($r) {

View File

@ -1 +1 @@
2013-09-29.451 2013-09-30.452