clean up unnecessary fallback to empty array

This commit is contained in:
Abdul Malik Ikhsan 2020-08-17 19:47:25 +07:00
parent eb00eec5d0
commit 9180c293cb
No known key found for this signature in database
GPG Key ID: 23FCCC74D1442CAE

View File

@ -1958,7 +1958,7 @@ class BaseBuilder
// If we've previously reset the QBOrderBy values, get them back
elseif (! isset($this->QBOrderBy))
{
$this->QBOrderBy = $orderBy ?: [];
$this->QBOrderBy = $orderBy;
}
// Restore the LIMIT setting