Marius Cramer
2014-08-13 42539643c396f9d8865dcf9a51b13dc869709d16
interface/web/sites/ftp_user_edit.php
@@ -139,6 +139,11 @@
      $uid = $app->db->quote($web["system_user"]);
      $gid = $app->db->quote($web["system_group"]);
      // Check system user and group
      if($app->functions->is_allowed_user($uid) == false || $app->functions->is_allowed_group($gid) == false) {
         $app->error('Invalid system user or group');
      }
      // The FTP user shall be owned by the same group then the website
      $sys_groupid = $app->functions->intval($web['sys_groupid']);