From 12fcf092c750512ac6d8fc514e948f09c4e39f42 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 1 Aug 2004 07:58:26 +0000 Subject: [PATCH] replaced unnecessary ereg_replace, which caused trouble with mbstring.function_overload=7 --- phpgwapi/inc/class.schema_proc_mssql.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.schema_proc_mssql.inc.php b/phpgwapi/inc/class.schema_proc_mssql.inc.php index 08a69c08dc..55868bc494 100644 --- a/phpgwapi/inc/class.schema_proc_mssql.inc.php +++ b/phpgwapi/inc/class.schema_proc_mssql.inc.php @@ -230,7 +230,7 @@ // The rest of this is used only for SQL->array $colinfo = explode('(',$oProc->m_odb->f(1)); - $prec = ereg_replace(')','',$colinfo[1]); + $prec = str_replace(')','',$colinfo[1]); $scales = explode(',',$prec); if ($scales[1]) {