Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: 2.7.1b - Minor Issue when using '

2.7.1b - Minor Issue when using ' 14 years 2 weeks ago #10635

  • andybon
  • andybon's Avatar Topic Author
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 239
  • Thank you received: 0
Hi there,

Spotted a mini-bug.....

If you use an apostrophe in a text field it shows as an escaped character on the check details page - Also if you then use the 'Back' option to change the details (as many people might to try and remove the \), then when the data loads for editing, anything after the apostrophe is lost....

Andy

Please Log in or Create an account to join the conversation.

2.7.1b - Minor Issue when using ' 14 years 2 weeks ago #10636

  • vostokoved
  • vostokoved's Avatar
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 160
  • Thank you received: 0
I noticed this too!
Good you wrote it here :mrgreen:

Please Log in or Create an account to join the conversation.

I'm not a native English speaker, so don't judge me too hard, please.

2.7.1b - Minor Issue when using ' 13 years 11 months ago #11456

  • ismadman
  • ismadman's Avatar
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 97
  • Thank you received: 0
I posted this in another thread and still seem to be having the problem .
I had this problem with another site I built with the DHTMLX Sheduler
I am using 2.7.2c
I was told by the guys at dhtmlx that my host had Magic Quotes enabled
the code below fixed the problem on the other site
But how would I make this code work with DT Reg
( On DHTMLX it had to go to top of the config file )
if (get_magic_quotes_gpc()) {
    $process = array(&$_GET, &$_POST, &$_COOKIE, &$_REQUEST);
    while (list($key, $val) = each($process)) {
        foreach ($val as $k => $v) {
            unset($process[$key][$k]);
            if (is_array($v)) {
                $process[$key][stripslashes($k)] = $v;
                $process[] = &$process[$key][stripslashes($k)];
            } else {
                $process[$key][stripslashes($k)] = stripslashes($v);
            }
        }
    }

Pictured below is whats happening

[attachment=2:2yt0k2xq]<!-- ia2 -->Good.jpg<!-- ia2 -->[/attachment:2yt0k2xq]

[attachment=1:2yt0k2xq]<!-- ia1 -->after save.jpg<!-- ia1 -->[/attachment:2yt0k2xq]

[attachment=0:2yt0k2xq]<!-- ia0 -->tooltip.JPG<!-- ia0 -->[/attachment:2yt0k2xq]
Attachments:

  • Rendering Error in layout Attachment/Item: Property "protected" is not defined. Please enable debug mode for more information.

  • Rendering Error in layout Attachment/Item: Property "protected" is not defined. Please enable debug mode for more information.

  • Rendering Error in layout Attachment/Item: Property "protected" is not defined. Please enable debug mode for more information.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.144 seconds