issue #187
This commit is contained in:
parent
19a2bdeb91
commit
c3c202d650
@ -35,7 +35,11 @@ function page_init(&$a) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$channel_address = argv(1);
|
$channel_address = argv(1);
|
||||||
$page_id = argv(2);
|
|
||||||
|
// The page link title was stored in a urlencoded format
|
||||||
|
// php or the browser may/will have decoded it, so re-encode it for our search
|
||||||
|
|
||||||
|
$page_id = urlencode(argv(2));
|
||||||
|
|
||||||
$u = q("select channel_id from channel where channel_address = '%s' limit 1",
|
$u = q("select channel_id from channel where channel_address = '%s' limit 1",
|
||||||
dbesc($channel_address)
|
dbesc($channel_address)
|
||||||
|
Reference in New Issue
Block a user