Merge pull request #7148 from MrPetovan/bug/fatal-errors

Allow null $tags parameter in ActivityPub\Processor::constructTagString
This commit is contained in:
Philipp
2019-05-17 13:19:58 +02:00
committed by GitHub

View File

@@ -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 '';