mirror of
https://github.com/vrana/adminer.git
synced 2025-11-17 10:30:39 +01:00
Rename real_escape_string() to escape_string()
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@101 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -45,7 +45,7 @@ if (!$result) {
|
||||
}
|
||||
|
||||
if ($mysql->server_info >= 5) {
|
||||
$result = $mysql->query("SHOW TRIGGERS LIKE '" . $mysql->real_escape_string($_GET["table"]) . "'");
|
||||
$result = $mysql->query("SHOW TRIGGERS LIKE '" . $mysql->escape_string($_GET["table"]) . "'");
|
||||
if ($result->num_rows) {
|
||||
echo "<h3>" . lang('Triggers') . "</h3>\n";
|
||||
echo "<table border='0' cellspacing='0' cellpadding='2'>\n";
|
||||
|
||||
Reference in New Issue
Block a user