mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
fix for binary data stored in database as describt in bug [ 985874 ] Can't store files in database
This commit is contained in:
parent
c8b165acae
commit
8e71034baf
@ -636,7 +636,7 @@
|
||||
$data = array ();
|
||||
}
|
||||
|
||||
$string = ereg_replace ("'", "\'", $data['string']);
|
||||
$string = $GLOBALS['phpgw']->db->db_addslashes ($data['string']);
|
||||
|
||||
return $string;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user