Marius Cramer
2015-01-08 89e4329a8068e3631d3f64f6896fa3907c687cf5
interface/lib/classes/remoting.inc.php
@@ -340,6 +340,10 @@
      //* Load the form definition
      $app->remoting_lib->loadFormDef($formdef_file);
      //* get old record and merge with params, so only new values have to be set in $params
      $old_rec = $app->remoting_lib->getDataRecord($primary_id);
      $params = $app->functions->array_merge($old_rec,$params);
      //* Get the SQL query
      $sql = $app->remoting_lib->getSQL($params, 'UPDATE', $primary_id);