Skip to content

Commit 2f044bd

Browse files
author
Till Brehm
committed
Merge branch '5748-nightly-db-user-will-not-assigned-with-database-db-users-are-not-created-in-mariadb' into 'develop'
Resolve "[Nightly] DB User will not assigned with Database / DB Users are not created in MariaDB" Closes #5748 See merge request ispconfig/ispconfig3!1186
2 parents 963335e + 8e7b363 commit 2f044bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/plugins-available/mysql_clientdb_plugin.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ function process_host_list($action, $database_name, $database_user, $database_pa
137137
if($user_access_mode == 'r') $grants = 'SELECT';
138138
elseif($user_access_mode == 'rd') $grants = 'SELECT, DELETE, ALTER, DROP';
139139

140-
$database_name = str_replace('_', '\\_', $link->escape_string($database_name));
140+
$database_name = $link->escape_string($database_name);
141141

142142
if($action == 'GRANT') {
143143
if($user_access_mode == 'r' || $user_access_mode == 'rd') {

0 commit comments

Comments
 (0)