BUG_15194: Error inserting data to PM Table.

The Json has some quotes that was causing troubles, because the stripslashes() function was been applicated before json_decode, so it was been applied twice.

Removing stripslashes() function, this is already added in json_decode().
This commit is contained in:
jennylee
2014-06-30 11:59:58 -04:00
parent 33137ffa96
commit 807aecec7b

View File

@@ -549,7 +549,7 @@ class pmTablesProxy extends HttpProxyController
require_once $sPath . $this->className . '.php'; require_once $sPath . $this->className . '.php';
$rows = G::json_decode( stripslashes( $httpData->rows ) ); $rows = G::json_decode( $httpData->rows );
if (is_array( $rows )) { if (is_array( $rows )) {
foreach ($rows as $row) { foreach ($rows as $row) {