Skip to content

Commit caf687f

Browse files
committed
Update Binding at build_order_result
1 parent a38d6fb commit caf687f

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)