diff --git a/webportal/wordpress/wp-content/plugins/vehicle-config-parser/vehicleConfigParser.php b/webportal/wordpress/wp-content/plugins/vehicle-config-parser/vehicleConfigParser.php
index 90e8d8c7..745a3fa0 100644
--- a/webportal/wordpress/wp-content/plugins/vehicle-config-parser/vehicleConfigParser.php
+++ b/webportal/wordpress/wp-content/plugins/vehicle-config-parser/vehicleConfigParser.php
@@ -39,11 +39,11 @@ function vehicleConfigParser($data) {
try
{
$ret = $client->addVehicleConfig("MOPED", $data);
-
- if($ret->return == "true")
+ $ret = json_decode($ret);
+ if($ret->result == "true")
echo "
Vehicle Configuration updated successfuflly
";
else
- echo "
".$ret->return."
";
+ echo "
".$ret->result."
";
return $ret;
} catch (SoapFault $exception) {
print $exception;