Commit f2f59f9b authored by Marius Burkard's avatar Marius Burkard

- fixed error in overriding primary id for client_add in remoting

parent 2cba15dc
......@@ -208,7 +208,10 @@ class remoting {
//* Execute the SQL query
$app->db->query($sql);
$insert_id = $app->db->insertID();
if ( isset($params['_primary_id'] ))
$insert_id = $params['_primary_id'];
else
$insert_id = $app->db->insertID();
//* Stop on error while executing the sql query
......
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