Skip to content

Commit bcc5dce

Browse files
authored
Merge pull request #29 from nguyenanhung/v3.2.0-develop
Update Binding at build_order_result
2 parents 163a6a8 + caf687f commit bcc5dce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hungng/HungNG_Custom_Based_model.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ public function bind_order_result($order_by_field, $direction = 'desc', $field =
348348
public function build_order_result($order_by_field, $direction = 'desc', $field = 'id', $table = '')
349349
{
350350
if (!empty($table)) {
351-
$tableName = trim($table) . '.';
351+
$tableName = $this->bindDBPrefix(trim($table)) . '.';
352352
} else {
353353
$tableName = $this->bindDBPrefix($this->tableName) . '.';
354354
}

0 commit comments

Comments
 (0)