This commit is contained in:
Ralf Becker 2021-02-14 17:55:04 +02:00
parent 2291cc8df0
commit 10fd1cd76b

View File

@ -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