diff --git a/registration-system/frameworks/Environment.php b/registration-system/frameworks/Environment.php index e4e1dbbe1e5593034f35a7c8b58c16cf62f20f28..13621920a178602753d5800e28ddbccf52d33a95 100644 --- a/registration-system/frameworks/Environment.php +++ b/registration-system/frameworks/Environment.php @@ -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; }