Marius Cramer
2015-04-15 3a11d23a2f32a1b9b2ec43429917c000017c5eff
interface/web/client/reseller_edit.php
@@ -200,7 +200,7 @@
   function onAfterInsert() {
      global $app, $conf;
      // Create the group for the reseller
      $groupid = $app->db->datalogInsert('sys_group', "(name,description,client_id) VALUES ('".$app->db->quote($this->dataRecord["username"])."','',".$this->id.")", 'groupid');
      $groupid = $app->db->datalogInsert('sys_group', array("name" => $this->dataRecord["username"], "description" => '', "client_id" => $this->id), 'groupid');
      $groups = $groupid;
      $username = $this->dataRecord["username"];