shuttle-export icon indicating copy to clipboard operation
shuttle-export copied to clipboard

When tables names contain special characters, fetch_numeric fails

Open nasri-lab opened this issue 1 year ago • 0 comments

When tables names contain special characters ('-' in my case), the line 230 fails, you need to escape the name with `, the ligne should then be :

$tables = $this->db->fetch_numeric('SHOW FULL TABLES WHERE Table_Type = "BASE TABLE" AND Tables_in_'.$this->db->name.' LIKE "' . $this->db->escape_like($table_prefix) . '%" ');

nasri-lab avatar Jun 07 '23 10:06 nasri-lab