From bca2215faf8eb8b1a57a263d8f65c9e0534d7735 Mon Sep 17 00:00:00 2001 From: Thomas Zarebczan Date: Thu, 31 May 2018 16:25:14 -0400 Subject: [PATCH] remove underscoe --- view/template/acquisition/youtube_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/template/acquisition/youtube_edit.php b/view/template/acquisition/youtube_edit.php index a85fbb2d..ee0b202c 100644 --- a/view/template/acquisition/youtube_edit.php +++ b/view/template/acquisition/youtube_edit.php @@ -5,7 +5,7 @@ $email = Request::encodeStringFromUser($_POST['new_email']); $sync_consent = isset($_POST['sync_consent']); -if (!preg_match("/@[A-Za-z0-9_-]+$/", $channel_name)) { +if (!preg_match("/@[A-Za-z0-9-]+$/", $channel_name)) { $channel_name = "@" . $channel_name; }