We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent caa8de3 commit ae5301cCopy full SHA for ae5301c
webportal/wordpress/wp-content/plugins/vehicle-config-parser/vehicleConfigParser.php
@@ -39,11 +39,11 @@ function vehicleConfigParser($data) {
39
try
40
{
41
$ret = $client->addVehicleConfig("MOPED", $data);
42
-
43
- if($ret->return == "true")
+ $ret = json_decode($ret);
+ if($ret->result == "true")
44
echo "<br/><font color='green'>Vehicle Configuration updated successfuflly</font><br />";
45
else
46
- echo "<br/><font color='red'>".$ret->return."</font><br />";
+ echo "<br/><font color='red'>".$ret->result."</font><br />";
47
return $ret;
48
} catch (SoapFault $exception) {
49
print $exception;
0 commit comments