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) {
$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) {

View File

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