Merge pull request #4 from dthulke/master
RegEx in cocal.php korrigiert
This commit is contained in:
commit
fb9ad5eaad
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ if (isset($matrnr) && isset($passwd)) {
|
||||||
|
|
||||||
case 'LOCATION':
|
case 'LOCATION':
|
||||||
$matches = array();
|
$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];
|
$room = $matches[1];
|
||||||
$address = get_address($db, $room);
|
$address = get_address($db, $room);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue