lint: fix php

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
pull/504/head
Varun Patil 2023-03-15 16:59:31 -07:00
parent 098d8da208
commit 811343e730
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ trait TimelineQueryPeopleRecognize
// Join with cluster
$clusterQuery = null;
if ($faceName !== 'NULL') {
if ('NULL' !== $faceName) {
$nameField = is_numeric($faceName) ? 'rfc.id' : 'rfc.title';
$query->innerJoin('m', 'recognize_face_clusters', 'rfc', $query->expr()->andX(
$query->expr()->eq('rfc.user_id', $query->createNamedParameter($faceUid)),