as_fetch depends on the pubcrawl plugin, but is referenced in core. Ensure that it doesn't chuck a wobbly if the function isn't found. This is undergoing significant revision for zot6 so this action is considered a short-term workaround until that work work stabilises.
This commit is contained in:
parent
11624cd83e
commit
66d72d9870
@ -195,6 +195,8 @@ class HTTPSig {
|
|||||||
if($x && $x[0]['xchan_pubkey']) {
|
if($x && $x[0]['xchan_pubkey']) {
|
||||||
return ($x[0]['xchan_pubkey']);
|
return ($x[0]['xchan_pubkey']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(function_exists('as_fetch'))
|
||||||
$r = as_fetch($id);
|
$r = as_fetch($id);
|
||||||
|
|
||||||
if($r) {
|
if($r) {
|
||||||
|
Reference in New Issue
Block a user