From: <no...@so...> - 2002-11-07 15:30:07
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=1747841 By: nobody We have to manually escape single-quotes for strings currently when create or edit a function. This simple patch fixes the problem so that all ' are changed to ' ' . Fix for 2.4.2 // around line 205 of func_edit.inc.php if ($common_ver < 7.1) { $source = ereg_replace("\r", " ", $source); } // added the line below: $source = str_replace("'","''",$source); ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge and visit: https://sourceforge.net/forum/monitor.php?forum_id=115884 |