there's no $a in comanche_block() (zottel)
This commit is contained in:
parent
a8ebd7e3fa
commit
e0391de906
@ -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) {
|
||||||
|
@ -1 +1 @@
|
|||||||
2013-09-29.451
|
2013-09-30.452
|
||||||
|
Reference in New Issue
Block a user