Changing deprecated json->decode json->encode by Bootstrap functions.

This commit is contained in:
ralph
2012-11-29 14:25:06 -04:00
parent 5c89c9d499
commit 2df7ff709a
18 changed files with 93 additions and 94 deletions

View File

@@ -29,10 +29,10 @@
* @Date 16/05/2008
* @LastModification none
*/
G::LoadThirdParty( 'pear/json', 'class.json' );
//G::LoadThirdParty( 'pear/json', 'class.json' );
try {
$oJSON = new Services_JSON();
$stdObj = $oJSON->decode( stripslashes( $_POST['data'] ) );
//$oJSON = new Services_JSON();
$stdObj = Bootstrap::json_decode( stripslashes( $_POST['data'] ) );
if (isset( $stdObj->pro_uid ))
$sProUid = $stdObj->pro_uid;
else