From e3088a877f94ac465555173e28b2f7f4a4f6d5e8 Mon Sep 17 00:00:00 2001 From: SecretR Date: Fri, 27 Jun 2014 20:57:31 +0300 Subject: [PATCH] Typo fix from previous commit --- e107_admin/db.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_admin/db.php b/e107_admin/db.php index 1c76ef177..900c69bef 100644 --- a/e107_admin/db.php +++ b/e107_admin/db.php @@ -37,7 +37,7 @@ $mes = e107::getMessage(); if(isset($_GET['mode'])) { - $_GET['mode'] = preg_match('/[^\w-]/', '', $_GET['mode']); + $_GET['mode'] = preg_replace('/[^\w-]/', '', $_GET['mode']); } if(isset($_GET['type']))