tbrehm
2012-05-10 e94a9fb5e4b6a2bc07e0bb4cf8ea35fc70c4bbf0
interface/web/client/reseller_del.php
@@ -55,6 +55,8 @@
   function onBeforeDelete() {
      global $app, $conf;
      
      if($conf['demo_mode'] == true) $app->error('This function is disabled in demo mode.');
      $client_id = intval($this->dataRecord['client_id']);
      
      $tmp = $app->db->queryOneRecord("SELECT count(client_id) as number FROM client WHERE parent_client_id = ".$client_id);