From 31b533d00e61d2fc4445a1a89c3c1506983eaf66 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Fri, 28 Dec 2001 05:25:07 +0000 Subject: [PATCH] formatting --- phpgwapi/inc/class.db_mysql.inc.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.db_mysql.inc.php b/phpgwapi/inc/class.db_mysql.inc.php index 1f713bb975..9038e9d068 100644 --- a/phpgwapi/inc/class.db_mysql.inc.php +++ b/phpgwapi/inc/class.db_mysql.inc.php @@ -126,8 +126,10 @@ function db_addslashes($str) { - if (!IsSet($str) || $str == '') + if (!isset($str) || $str == '') + { return ''; + } return addslashes($str); }