Merge pull request #7148 from MrPetovan/bug/fatal-errors
Allow null $tags parameter in ActivityPub\Processor::constructTagString
This commit is contained in:
commit
8011c844c7
1 changed files with 1 additions and 2 deletions
|
@ -64,10 +64,9 @@ class Processor
|
|||
*
|
||||
* @param array $tags
|
||||
* @param boolean $sensitive
|
||||
* @param array $implicit_mentions List of profile URLs to skip
|
||||
* @return string with tags
|
||||
*/
|
||||
private static function constructTagString(array $tags, $sensitive)
|
||||
private static function constructTagString(array $tags = null, $sensitive = false)
|
||||
{
|
||||
if (empty($tags)) {
|
||||
return '';
|
||||
|
|
Loading…
Reference in a new issue