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

@@ -22,7 +22,7 @@
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
*/
G::LoadThirdParty( 'pear/json', 'class.json' );
//G::LoadThirdParty( 'pear/json', 'class.json' );
try {
@@ -49,8 +49,8 @@ try {
return $value;
}
$oJSON = new Services_JSON();
$stdObj = $oJSON->decode( $_POST['data'] );
//$oJSON = new Services_JSON();
$stdObj = Bootstrap::json_decode( $_POST['data'] );
if (isset( $stdObj->pro_uid ))
$sProUid = $stdObj->pro_uid;
else