Skip to content

Commit

Permalink
Split lines
Browse files Browse the repository at this point in the history
  • Loading branch information
Universal-Omega authored Feb 8, 2025
1 parent 106e29d commit c8822d1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions includes/Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -1111,7 +1111,8 @@ private function _category( $option ) {
$this->addJoin(
$tableAlias, [
'INNER JOIN',
"{$this->tableNames['page']}.page_id = {$tableAlias}.cl_from AND $tableAlias.cl_to {$comparisonType} " .
"{$this->tableNames['page']}.page_id = {$tableAlias}.cl_from AND " .
"$tableAlias.cl_to {$comparisonType} " .
$this->dbr->addQuotes( str_replace( ' ', '_', $category ) )
]
);
Expand Down Expand Up @@ -1162,7 +1163,8 @@ private function _notcategory( $option ) {
$this->addJoin(
$tableAlias, [
'LEFT OUTER JOIN',
"{$this->tableNames['page']}.page_id = {$tableAlias}.cl_from AND {$tableAlias}.cl_to {$operatorType}" .
"{$this->tableNames['page']}.page_id = {$tableAlias}.cl_from AND " .
"{$tableAlias}.cl_to {$operatorType}" .
$this->dbr->addQuotes( str_replace( ' ', '_', $category ) )
]
);
Expand Down

0 comments on commit c8822d1

Please sign in to comment.