mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-23 17:47:26 +00:00
remove underscoe
This commit is contained in:
parent
1ef078d2eb
commit
bca2215faf
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ $email = Request::encodeStringFromUser($_POST['new_email']);
|
||||||
$sync_consent = isset($_POST['sync_consent']);
|
$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;
|
$channel_name = "@" . $channel_name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue