phpMyEdit - Viewing Bug Advanced Details [ Go Back ]
607 core / field option block always 2009-05-05 19:50 2009-05-05 19:50
cbek UNIX  
UNIX  
normal ??  
new current from CVS  
v1.212 open  
none  
none  
variable $escape is not usable in the htmlTextarea function
The variable $escape is not initialized properly in the htmlTextarea function so the content is not escaped properly.
Try to edit a content with  , when entering in the edit mode, this special character is replace by " " instead of being display as  
I made the following correction:

1- Add the following line in the display_change_field function:
GLOBAL $escape;

2- Add the following line in the htmlTextarea function:
GLOBAL $escape;

With this correction it’s working properly for me but I am not sure I made it the better way!

There are no notes attached to this bug.