mirror of
https://github.com/friendica/friendica
synced 2025-04-26 09:50:15 +00:00
Add return type never, fix more errors
This commit is contained in:
parent
12ed714a9e
commit
24f75cd618
5 changed files with 26 additions and 5 deletions
|
@ -78,7 +78,7 @@ class Remove extends \Friendica\BaseModule
|
|||
$tag_text = Tag::getCSVByURIId($item['uri-id']);
|
||||
|
||||
$tags = explode(',', $tag_text);
|
||||
if (empty($tags)) {
|
||||
if (!is_array($tags)) {
|
||||
$this->baseUrl->redirect($returnUrl);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue