We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dc9248 commit 1d9a3dfCopy full SHA for 1d9a3df
hungng/HungNG_Custom_Based_model.php
@@ -224,8 +224,10 @@ public function getTableName()
224
*/
225
public function bindDBPrefix($table)
226
{
227
- if (strpos($table, $this->db->dbprefix)) {
228
- return $table;
+ if (!empty($this->db->dbprefix)) {
+ if (strpos($table, $this->db->dbprefix)) {
229
+ return $table;
230
+ }
231
}
232
233
return $this->db->dbprefix($table);
0 commit comments