Skip to content
Snippets Groups Projects
Commit fbdf4007 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

fixed error in regex

parent 5858691f
Branches
No related tags found
1 merge request!1546Development
......@@ -4,6 +4,10 @@ service:
hpa:
minReplicas: 5
maxReplicas: 25
podDisruptionBudget:
enabled: true
minAvailable: 3
maxUnavailable: 3
ingress:
annotations:
certmanager.k8s.io/cluster-issuer: letsencrypt-prod
......
......@@ -1390,7 +1390,7 @@ class MetaGer
$logEntry .= " key=" . $this->apiKey;
$logEntry .= " eingabe=" . $this->eingabe;
$logEntry = preg_replace("\n+", " ", $logEntry);
$logEntry = preg_replace("/\n+/", " ", $logEntry);
$logpath = \App\MetaGer::getMGLogFile();
if (file_put_contents($logpath, $logEntry . PHP_EOL, FILE_APPEND) === false) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment