mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-06-26 08:40:11 +02:00
DbTool: Do not replace '%' with '%%' in method grantPrivileges
fixes #13615
This commit is contained in:
parent
3ba1d9ea56
commit
e9eeb030a6
@ -583,7 +583,7 @@ class DbTool
|
||||
$to = sprintf(
|
||||
' TO %s@%s',
|
||||
$this->quoteIdentifier($username),
|
||||
str_replace('%', '%%', $this->quoteIdentifier($host))
|
||||
$this->quoteIdentifier($host)
|
||||
);
|
||||
|
||||
$dbPrivileges = array();
|
||||
|
Loading…
x
Reference in New Issue
Block a user