Marius Cramer
2014-07-08 341ef7175af7c8f21d27262b58da8f5bc2c06ef0
interface/lib/classes/remote.d/client.inc.php
@@ -182,6 +182,9 @@
      $app->uses('remoting_lib');
      $app->remoting_lib->loadFormDef('../client/form/' . (isset($params['limit_client']) && $params['limit_client'] > 0 ? 'reseller' : 'client') . '.tform.php');
      $old_rec = $app->remoting_lib->getDataRecord($client_id);
      //* merge old record with params, so only new values have to be set in $params
      $params = $app->functions->array_merge($old_rec,$params);
      // we need the previuos templates assigned here
      $this->oldTemplatesAssigned = $app->db->queryAllRecords('SELECT * FROM `client_template_assigned` WHERE `client_id` = ' . $client_id);