Commit dbaeb7e6 authored by Marius Burkard's avatar Marius Burkard

- fixed missing sql error check in remoting client_add

parent f2f59f9b
......@@ -208,6 +208,10 @@ class remoting {
//* Execute the SQL query
$app->db->query($sql);
if($app->db->errorMessage != '') {
throw new SoapFault('database_error', $app->db->errorMessage . ' '.$sql);
return false;
}
if ( isset($params['_primary_id'] ))
$insert_id = $params['_primary_id'];
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment