You should update your cake core.
The newest escape function reads:
00073 function escape($string, $connection = 'default') {
00074 $db =& ConnectionManager::getDataSource($connection);
00075 if (is_numeric($string)) {
00076 return $string;
00077 }
00078 $string = substr($db->value($string), 1);
00079 $string = substr($string, 0, -1);
00080 return $string;
00081 }
And will deal right with your number.
Cheers,
Joachim
On Oct 26, 11:21 pm, vg2k <[EMAIL PROTECTED]> wrote:
> i forgot say, using cakephp 1.2 alpha
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---