Skip to content

Commit a005eea

Browse files
committed
Update Compiler.php
1 parent 37a6baa commit a005eea

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/mako/database/query/compilers/Compiler.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -697,9 +697,7 @@ protected function nullOrdering(array $order): string
697697
{
698698
$nullOrder = $order['nullsLast'] ? 'IS NULL' : 'IS NOT NULL';
699699

700-
$column = $this->column($order['column']);
701-
702-
return "({$column} {$nullOrder}), {$column} {$order['order']}";
700+
return "({$this->column($order['column'])} {$nullOrder}), {$this->column($order['column'])} {$order['order']}";
703701
}
704702

705703
/**

0 commit comments

Comments
 (0)