Skip to content

Commit

Permalink
Merge pull request #29 from nguyenanhung/v3.2.0-develop
Browse files Browse the repository at this point in the history
Update Binding at build_order_result
  • Loading branch information
hungnguyenhp committed Mar 27, 2023
2 parents 163a6a8 + caf687f commit bcc5dce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hungng/HungNG_Custom_Based_model.php
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ public function bind_order_result($order_by_field, $direction = 'desc', $field =
public function build_order_result($order_by_field, $direction = 'desc', $field = 'id', $table = '')
{
if (!empty($table)) {
$tableName = trim($table) . '.';
$tableName = $this->bindDBPrefix(trim($table)) . '.';
} else {
$tableName = $this->bindDBPrefix($this->tableName) . '.';
}
Expand Down

0 comments on commit bcc5dce

Please sign in to comment.