Skip to content
Snippets Groups Projects
Verified Commit 190e3e45 authored by Manuel Herrmann's avatar Manuel Herrmann
Browse files

allow linebreaks in the config_current_fahrt_id file to reduce confusion

parent 121b4405
No related branches found
No related tags found
1 merge request!1allow linebreaks in the config_current_fahrt_id file to reduce confusion
......@@ -189,7 +189,7 @@ class Environment {
private function readCurrentTripId() {
global $config_current_fahrt_file;
if (file_exists($config_current_fahrt_file)) {
$tmp = file_get_contents($config_current_fahrt_file);
$tmp = trim(file_get_contents($config_current_fahrt_file));
if (is_numeric($tmp))
return $tmp;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment