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:
@@ -549,7 +549,7 @@ class pmTablesProxy extends HttpProxyController
|
||||
|
||||
require_once $sPath . $this->className . '.php';
|
||||
|
||||
$rows = G::json_decode( stripslashes( $httpData->rows ) );
|
||||
$rows = G::json_decode( $httpData->rows );
|
||||
|
||||
if (is_array( $rows )) {
|
||||
foreach ($rows as $row) {
|
||||
|
||||
Reference in New Issue
Block a user