We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -552,14 +552,14 @@ discard block |
||
| 552 | 552 | $results = $solr->service->select($selectQuery); |
| 553 | 553 | $facet = $results->getFacetSet(); |
| 554 | 554 | |
| 555 | - $facetCollectionArray = array(); |
|
| 555 | + $facetCollectionArray = array (); |
|
| 556 | 556 | |
| 557 | 557 | // replace everything expect numbers and comma |
| 558 | 558 | $facetCollections = preg_replace('/[^0-9|,]/', '', $this->conf['facetCollections']); |
| 559 | 559 | $result = $GLOBALS['TYPO3_DB']->exec_SELECTquery( |
| 560 | 560 | 'tx_dlf_collections.index_name AS index_name', |
| 561 | 561 | 'tx_dlf_collections', |
| 562 | - 'tx_dlf_collections.uid IN (' . $facetCollections . ')' |
|
| 562 | + 'tx_dlf_collections.uid IN ('.$facetCollections.')' |
|
| 563 | 563 | .Helper::whereClause('tx_dlf_collections'), |
| 564 | 564 | '', |
| 565 | 565 | '', |
@@ -567,7 +567,7 @@ discard block |
||
| 567 | 567 | ); |
| 568 | 568 | |
| 569 | 569 | if ($GLOBALS['TYPO3_DB']->sql_num_rows($result)) { |
| 570 | - while($collection = $GLOBALS['TYPO3_DB']->sql_fetch_row($result)) { |
|
| 570 | + while ($collection = $GLOBALS['TYPO3_DB']->sql_fetch_row($result)) { |
|
| 571 | 571 | $facetCollectionArray[] = $collection[0]; |
| 572 | 572 | } |
| 573 | 573 | } |