Change-Id: Ic591f06f70c68bb2912b7f028f7f988eb658375d
$t
);
- if ( $openmatch or $closematch ) {
+ if ( $openmatch || $closematch ) {
$paragraphStack = false;
# @todo bug 5718: paragraph closed
$output .= $this->closeParagraph();
if ( strtolower( $terms[2] ) === 'and' ) {
$searchstring .= ' & ';
}
- elseif ( strtolower( $terms[2] ) === 'or' or $terms[2] === '|' ) {
+ elseif ( strtolower( $terms[2] ) === 'or' || $terms[2] === '|' ) {
$searchstring .= ' | ';
}
elseif ( strtolower( $terms[2] ) === 'not' ) {