tbrehm
2010-09-02 35cc408f854e410452ef637d79fb68157049efdf
interface/lib/classes/remoting.inc.php
@@ -1923,6 +1923,13 @@
      
      //* load the user profile of the client
      $app->remoting_lib->loadUserProfile($reseller_id);      
      //* load the client template
      if(isset($params['template_master']) and $params['template_master'])
      {
         $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);