Skip to content

Commit

Permalink
fix 1046 No database selected issue when adding customer
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Kaufmann <[email protected]>
  • Loading branch information
d00p committed Jan 22, 2025
1 parent 4b93037 commit aab98e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Froxlor/Api/Commands/Customers.php
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ public function add()
if ($mysqls != 0) {
foreach ($allowed_mysqlserver as $dbserver) {
// require privileged access for target db-server
Database::needRoot(true, $dbserver, false);
Database::needRoot(true, $dbserver, true);
// get DbManager
$dbm = new DbManager($this->logger());
// give permission to the user on every access-host we have
Expand Down

0 comments on commit aab98e4

Please sign in to comment.