Skip to content

Commit

Permalink
Correct double to single quote within SQL query.
Browse files Browse the repository at this point in the history
  • Loading branch information
Logan Reynolds committed Dec 16, 2018
1 parent 8e25a6e commit 32ad6ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mergeusertool.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public function __construct(tool_mergeusers_config $config = null, tool_mergeuse
break;
case 'mysqli':
case 'mariadb':
$this->sqlListTables = 'SHOW TABLES like "' . $CFG->prefix . '%"';
$this->sqlListTables = "SHOW TABLES like '" . $CFG->prefix . "%'";
break;
case 'pgsql':
$this->sqlListTables = "SELECT table_name FROM information_schema.tables WHERE table_name LIKE '" .
Expand Down

0 comments on commit 32ad6ca

Please sign in to comment.