Skip to content

Commit

Permalink
Merge branch 'sagarpandav-patch-1' into 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanjeev Papnoi committed Jun 18, 2020
2 parents 82d39c5 + 340cdaa commit 5ad8ec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Console/Wizard/ConfigureHelpdesk.php
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
// Check 3: Check if super admin account exists
$output->writeln(" [-] Checking if an active super admin account exists");

$database = new \PDO("mysql:host=$db_host;dbname=$db_name", $db_user, $db_password);
$database = new \PDO("mysql:host=$db_host:$db_port;dbname=$db_name", $db_user, $db_password);

$supportRoleQuery = $database->query("SELECT * FROM uv_support_role WHERE code = 'ROLE_SUPER_ADMIN'");
$supportRole = $supportRoleQuery->fetch(\PDO::FETCH_ASSOC);
Expand Down

0 comments on commit 5ad8ec3

Please sign in to comment.