tbrehm
2012-05-08 cb904e4071fe88faff696f5402dbb3cff9bdaf79
interface/web/client/reseller_edit.php
@@ -138,7 +138,7 @@
   function onAfterInsert() {
      global $app, $conf;
      // Create the group for the reseller
      $groupid = $app->db->datalogInsert('sys_group', "(name,description,client_id) VALUES ('".mysql_real_escape_string($this->dataRecord["username"])."','',".$this->id.")", 'groupid');
      $groupid = $app->db->datalogInsert('sys_group', "(name,description,client_id) VALUES ('".$app->db->quote($this->dataRecord["username"])."','',".$this->id.")", 'groupid');
      $groups = $groupid;
      
      $username = $app->db->quote($this->dataRecord["username"]);