Commit fbdf4007 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

fixed error in regex

parent 5858691f
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment