Merge pull request #260 from MW0MWZ/master

Allow more than one module on peer links
This commit is contained in:
LX1IQ 2025-10-21 16:23:54 +02:00 committed by GitHub
commit bf7031eabd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -33,7 +33,7 @@ class Peer {
// Validate LinkedModule (single letter A-Z)
$LinkedModule = trim(strtoupper($LinkedModule));
$this->LinkedModule = preg_match('/^[A-Z]$/', $LinkedModule) ? $LinkedModule : '';
$this->LinkedModule = preg_match('/^[A-Z]+$/', $LinkedModule) ? $LinkedModule : '';
}