1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/security/base/files/patch-includes__base_db.inc.php
Martin Wilke 821a625c0f - Update to 1.4.5
PR:		145635
Submitted by:	olli hauer <ohauer@gmx.de>
2010-05-09 11:22:35 +00:00

12 lines
401 B
PHP

--- ./includes/base_db.inc.php.orig 2010-03-05 16:06:18.000000000 +0100
+++ ./includes/base_db.inc.php 2010-04-11 23:52:13.000000000 +0200
@@ -209,7 +209,7 @@
/* ** Begin DB specific SQL fix-up ** */
if ($this->DB_type == "mssql")
{
- $sql = eregi_replace("''", "NULL", $sql);
+ $sql = preg_replace("/''/i", "NULL", $sql);
}
if ($this->DB_type == "oci8")