[COMPONENT][Tag] We don't always have information about if a tag is canonical
This commit is contained in:
		| @@ -81,7 +81,7 @@ class Tag extends Component | |||||||
|                 'tag'           => $tag, |                 'tag'           => $tag, | ||||||
|                 'canonical'     => $canonical_tag, |                 'canonical'     => $canonical_tag, | ||||||
|                 'note_id'       => $note->getId(), |                 'note_id'       => $note->getId(), | ||||||
|                 'use_canonical' => $extra_args['tag_use_canonical'], |                 'use_canonical' => $extra_args['tag_use_canonical'] ?? false, | ||||||
|             ])); |             ])); | ||||||
|             Cache::pushList("tag-{$canonical_tag}", $note); |             Cache::pushList("tag-{$canonical_tag}", $note); | ||||||
|             $processed_tags = true; |             $processed_tags = true; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user