fix for binary data stored in database as describt in bug [ 985874 ] Can't store files in database

This commit is contained in:
Ralf Becker 2004-07-10 07:51:29 +00:00
parent c8b165acae
commit 8e71034baf

View File

@ -636,7 +636,7 @@
$data = array ();
}
$string = ereg_replace ("'", "\'", $data['string']);
$string = $GLOBALS['phpgw']->db->db_addslashes ($data['string']);
return $string;
}