diff options
Diffstat (limited to 'src/Utils/Query.php')
-rw-r--r-- | src/Utils/Query.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Utils/Query.php b/src/Utils/Query.php index 837e8f7..43da834 100644 --- a/src/Utils/Query.php +++ b/src/Utils/Query.php @@ -587,7 +587,7 @@ class Query * * @var int */ - $clauseIdx = $clauses[$clauseType]; + $clauseIdx = isset($clauses[$clauseType]) ? $clauses[$clauseType] : -1; $firstClauseIdx = $clauseIdx; $lastClauseIdx = $clauseIdx; |