Skip to content

Latest subscriptions.php preg_match is flawed #10

@dasilvatek

Description

@dasilvatek

Using the latest version, adding multiple US numbers to a subscription list fails - or I should say: does not function right.
Please try adding 2 CSV numbers via the web interface - you will see that it creates 1 international number out of the string.

I fixed this myself locally by adding a comma in the preg_match code in subscriptions.php, line 44:

preg_replace('/[^0-9\n,]+/'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions