Skip to content

Commit

Permalink
correcao
Browse files Browse the repository at this point in the history
  • Loading branch information
brunobmorais committed Mar 12, 2023
1 parent 75f7f9e commit 37c4a28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DatalayerTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ private function getInstance(): ?PDO
{
if (strpos($_SERVER['SERVER_NAME'], mb_strtolower(CONFIG_DATA_LAYER["homologation"])) && !strpos($this->database, ucfirst(CONFIG_DATA_LAYER["homologation"])))
{
$this->database .= ucfirst(CONFIG_DATA_LAYER["homologation"]);
$this->database .= ucfirst(CONFIG_DATA_LAYER["homologation"]??"");
}

if (!isset($this->instance))
Expand Down

0 comments on commit 37c4a28

Please sign in to comment.