mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-11 17:44:27 +02:00
Simplifying extension access
This commit is contained in:
parent
8e8ec9d2d2
commit
0e15715088
5 changed files with 5 additions and 5 deletions
|
@ -52,7 +52,7 @@ class Activity extends BaseApi
|
|||
$res = Item::performActivity($request['id'], $this->parameters['verb'], $uid);
|
||||
|
||||
if ($res) {
|
||||
if (!empty($this->parameters['extension']) && ($this->parameters['extension'] == 'xml')) {
|
||||
if ($this->parameters['extension'] ?? '' == 'xml') {
|
||||
$ok = 'true';
|
||||
} else {
|
||||
$ok = 'ok';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue