From c4a8cbedfe6aafa9d7362f3714bb65fef10a9efa Mon Sep 17 00:00:00 2001 From: Nate Jones Date: Sun, 27 Apr 2014 07:30:40 +0000 Subject: [PATCH] Fixed Issue 534 - Replaces space with dash --- app/extensions/extension_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/extensions/extension_edit.php b/app/extensions/extension_edit.php index d3bddfbfd5..6c0dd04baf 100644 --- a/app/extensions/extension_edit.php +++ b/app/extensions/extension_edit.php @@ -51,7 +51,7 @@ else { //get the http values and set them as php variables if (count($_POST) > 0) { //get the values from the HTTP POST and save them as PHP variables - $extension = check_str($_POST["extension"]); + $extension = str_replace(' ','-',check_str($_POST["extension"])); $number_alias = check_str($_POST["number_alias"]); $password = check_str($_POST["password"]);