tbrehm
2008-12-21 fb06ccf60ea8fc6e8b15e04e8236326fb5701175
Fixed ftpuser and shelluser prefix.
2 files modified
6 ■■■■■ changed files
interface/web/sites/ftp_user_edit.php 3 ●●●● patch | view | raw | blame | history
interface/web/sites/shell_user_edit.php 3 ●●●● patch | view | raw | blame | history
interface/web/sites/ftp_user_edit.php
@@ -173,7 +173,8 @@
            $client_group_id = $_SESSION["s"]["user"]["default_group"];
        } else {
            // Get the group-id from the data itself
            $client_group_id = $this->dataRecord['client_group_id'];
            $web = $app->db->queryOneRecord("SELECT sys_groupid FROM web_domain WHERE domain_id = ".intval($this->dataRecord['parent_domain_id']));
            $client_group_id = $web['sys_groupid'];
        }
        /* get the name of the client */
        $tmp = $app->db->queryOneRecord("SELECT name FROM sys_group WHERE groupid = " . $client_group_id);
interface/web/sites/shell_user_edit.php
@@ -195,7 +195,8 @@
            $client_group_id = $_SESSION["s"]["user"]["default_group"];
        } else {
            // Get the group-id from the data itself
            $client_group_id = $this->dataRecord['client_group_id'];
            $web = $app->db->queryOneRecord("SELECT sys_groupid FROM web_domain WHERE domain_id = ".intval($this->dataRecord['parent_domain_id']));
            $client_group_id = $web['sys_groupid'];
        }
        /* get the name of the client */
        $tmp = $app->db->queryOneRecord("SELECT name FROM sys_group WHERE groupid = " . $client_group_id);