Skip to content

Commit

Permalink
FIX Match multi-line JOIN statements
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli committed Sep 25, 2023
1 parent 157317d commit 035431f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ORM/Queries/SQLConditionalExpression.php
Original file line number Diff line number Diff line change
Expand Up @@ -802,6 +802,6 @@ public function toUpdate()
*/
public static function getJoinRegex(): string
{
return '/JOIN +.*? +(AS|ON|USING\(?) +/i';
return '/JOIN +.*? +(AS|ON|USING\(?) +/is';
}
}

0 comments on commit 035431f

Please sign in to comment.