fixed regex in cocal to include rooms like 2350|314.1
This commit is contained in:
parent
82cc302d01
commit
031d960881
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue