#1 ✓resolved
Maurits Lamers

decode_json

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

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);

}

Comments and changes to this ticket

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.

Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A generic PHP database front end for the Sproutcore RestServer server communication object.

People watching this ticket

Pages