Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

decode_json

#1

The decode_json function will not always work, especially when the get_magic_quotes_gpc setting is on.
This problem can be solved by adding the following code to the decode_json function (in commonfunctions.php).

if (get_magic_quotes_gpc()) {

 $recs = stripslashes($recs);

}

Reported by Maurits Lamers · March 8th, 2010 @ 12:39 PM

State: resolved
Milestone: none
Assigned to: Maurits Lamers Maurits Lamers

Activity

  1. Maurits Lamers
    Maurits Lamers
    • State changed from open to resolved

    April 5th, 2010 @ 04:25 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.