From 1a79148fd8010b5f3e73dfeef9a11605601b2093 Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Mon, 15 Feb 2010 18:19:42 +0000 Subject: [PATCH] fix typo in safename (now matches (, was missing a \! git-svn-id: http://www.observium.org/svn/observer/trunk@859 61d68cd4-352d-0410-923a-c4978735b2b8 --- includes/common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/common.php b/includes/common.php index 5050ac9ce..804ceecee 100644 --- a/includes/common.php +++ b/includes/common.php @@ -76,7 +76,7 @@ function gethostosbyid($id) { function safename($name) { - return preg_replace('/[^a-zA-Z0-9,._\+\()\-]/', '_', $name); + return preg_replace('/[^a-zA-Z0-9,._\+\(\)\-]/', '_', $name); }