@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | { |
74 | 74 | try { |
75 | 75 | if (strpos($_SERVER['SERVER_NAME'], mb_strtolower(CONFIG_DATA_LAYER["homologation"])) && !strpos($this->getDatabase(), ucfirst(CONFIG_DATA_LAYER["homologation"]))) { |
76 | - $database = $this->getDatabase().ucfirst(CONFIG_DATA_LAYER["homologation"] ?? ""); |
|
76 | + $database = $this->getDatabase() . ucfirst(CONFIG_DATA_LAYER["homologation"] ?? ""); |
|
77 | 77 | $this->setDatabase($database); |
78 | 78 | } |
79 | 79 | |
@@ -225,7 +225,7 @@ discard block |
||
225 | 225 | $prepare = empty($prepare) ? $this->getPrepare() : $prepare; |
226 | 226 | return $prepare->rowCount(); |
227 | 227 | } catch (PDOException $e) { |
228 | - $this->setError($e);} |
|
228 | + $this->setError($e); } |
|
229 | 229 | } |
230 | 230 | |
231 | 231 | /** |