diff --git a/src/applications/repository/conduit/ConduitAPI_repository_create_Method.php b/src/applications/repository/conduit/ConduitAPI_repository_create_Method.php index 7fba83c15d..cb6237bbd1 100644 --- a/src/applications/repository/conduit/ConduitAPI_repository_create_Method.php +++ b/src/applications/repository/conduit/ConduitAPI_repository_create_Method.php @@ -83,7 +83,7 @@ final class ConduitAPI_repository_create_Method $repository->setName($request->getValue('name')); $callsign = $request->getValue('callsign'); - if (!preg_match('/[A-Z]+$/', $callsign)) { + if (!preg_match('/^[A-Z]+$/', $callsign)) { throw new ConduitException('ERR-BAD-CALLSIGN'); } $repository->setCallsign($callsign);