Skip to content

When tables names contain special characters, fetch_numeric fails #19

Description

@nasri-lab

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) . '%"
');

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions