X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fdb%2Fconnect_db.inc;h=f91d70235fe0bb53eec1dae5182b13030f770dc2;hb=2a0f29497517eca1cde8b2832da5761edefb2268;hp=fd6870e947ed121d58ec558a13a00561b523c3f5;hpb=89cb648e9d031fa624e7814f89e90ccba2042124;p=fa-stable.git diff --git a/includes/db/connect_db.inc b/includes/db/connect_db.inc index fd6870e9..f91d7023 100644 --- a/includes/db/connect_db.inc +++ b/includes/db/connect_db.inc @@ -100,7 +100,7 @@ function db_num_fields ($result) function db_escape($value = "", $nullify = false) { - $value = @htmlspecialchars($value, ENT_COMPAT, $_SESSION['language']->encoding); + $value = @htmlspecialchars($value, ENT_QUOTES, $_SESSION['language']->encoding); //reset default if second parameter is skipped $nullify = ($nullify === null) ? (false) : ($nullify);