Update activitypub.extend.php
This commit is contained in:
parent
37ca6b8630
commit
c2cbea19e7
|
@ -36,7 +36,7 @@ function activitypub_json_decode($arr) {
|
||||||
function activitypub_get_access_tokens() {
|
function activitypub_get_access_tokens() {
|
||||||
$_access_tokens = array();
|
$_access_tokens = array();
|
||||||
|
|
||||||
$terms = array_filter(map("trim", explode(";", ACTIVITYPUB_ACCESS_TOKEN)));
|
$terms = array_filter(array_map("trim", explode(";", ACTIVITYPUB_ACCESS_TOKEN)));
|
||||||
foreach($terms as $term) {
|
foreach($terms as $term) {
|
||||||
list($k, $v) = explode('=', $term);
|
list($k, $v) = explode('=', $term);
|
||||||
$_access_tokens[$k] = $v;
|
$_access_tokens[$k] = $v;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user