From 10fd1cd76baa82d3b83430be7a24d961cb431b3f Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 14 Feb 2021 17:55:04 +0200 Subject: [PATCH] fix typo --- api/src/Contacts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Contacts.php b/api/src/Contacts.php index d5c56377b3..c812164fd7 100755 --- a/api/src/Contacts.php +++ b/api/src/Contacts.php @@ -2760,7 +2760,7 @@ class Contacts extends Contacts\Storage * * Requires a leading + or digit and only numbers (ignores ./-() and space) plus minimum length of 9 chars */ - const PHONE_PREG = '/^(\+|\d])[0-9 ()\/.-]{8,}$/'; + const PHONE_PREG = '/^(\+|\d)[0-9 ()\/.-]{8,}$/'; /** * searches db for rows matching searchcriteria