Fix searching legalpad documents by contributors
commit3b2868e155531886361db26d92c838a74ff4fe87
authorChristopher Speck <cspeckrun@gmail.com>
Sat, 4 Sep 2021 17:44:09 +0000 (4 13:44 -0400)
committerChristopher Speck <cspeckrun@gmail.com>
Sun, 5 Sep 2021 00:37:29 +0000 (4 20:37 -0400)
tree67641e189c227afc8f31fe445b0b3cc3ecf7795e
parent09c3c7d87931c4c49a703eced9d3388a51f4f348
Fix searching legalpad documents by contributors

Summary:
Found in a change submitted to Phorge (https://we.phorge.it/D25018#inline-231), this fixes a typo in populating search the `contributorPHIDs` constraint in the Legalpad search engine.

Currently when trying to search legalpad documents by contributor an error is encountered:
```lang=console
Array for %Ls conversion is empty. Query: contributor.dst IN (%Ls)
```

Test Plan: I searched for legalpad documents based on a contributor and got back correct results.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D21719
src/applications/legalpad/query/LegalpadDocumentSearchEngine.php