chjacobsen
2011-04-01 d5132ba5551bb4b2ba1afb0476d9077efc9cdc27
interface/web/sites/web_domain_edit.php
@@ -347,7 +347,7 @@
   function onAfterInsert() {
      global $app, $conf;
      // make sure that the record belongs to the clinet group and not the admin group when a dmin inserts it
      // make sure that the record belongs to the clinet group and not the admin group when admin inserts it
      // also make sure that the user can not delete domain created by a admin
      if($_SESSION["s"]["user"]["typ"] == 'admin' && isset($this->dataRecord["client_group_id"])) {
         $client_group_id = intval($this->dataRecord["client_group_id"]);