tbrehm
2010-11-02 911d45c65bcdd9b8d53c8762ef0e62a5437f8734
interface/lib/classes/remoting.inc.php
@@ -1922,7 +1922,14 @@
      $app->remoting_lib->loadFormDef($formdef_file);
      
      //* load the user profile of the client
      $app->remoting_lib->loadUserProfile($reseller_id);
      $app->remoting_lib->loadUserProfile($reseller_id);
      //* load the client template
      if(isset($params['template_master']) and $params['template_master'] > 0)
      {
         $template=$app->db->queryOneRecord("SELECT * FROM client_template WHERE template_id=".intval($params['template_master']));
         $params=array_merge($params,$template);
      }
      
      //* Get the SQL query
      $sql = $app->remoting_lib->getSQL($params,'INSERT',0);