Merge pull request #4 from dthulke/master

RegEx in cocal.php korrigiert
This commit is contained in:
Steffen Vogel 2016-10-30 13:33:39 -04:00 committed by GitHub
commit fb9ad5eaad

View file

@ -215,7 +215,7 @@ if (isset($matrnr) && isset($passwd)) {
case 'LOCATION':
$matches = array();
if (preg_match('/^([0-9]+\|[0-9]+)/', $value, $matches)) {
if (preg_match('/^(([0-9]+\|[0-9]+)(\.[0-9]+)?)/', $value, $matches)) {
$room = $matches[1];
$address = get_address($db, $room);