tbrehm
2011-03-07 d8f64480ebb604d2c7a7f777a5495e136ec17ed4
Fixed: FS#1540 - Reassign users (ftp, database, shell) from one client to another client
1 files modified
8 ■■■■■ changed files
interface/web/sites/web_domain_edit.php 8 ●●●●● patch | view | raw | blame | history
interface/web/sites/web_domain_edit.php
@@ -503,6 +503,14 @@
            }
            unset($records);
            unset($rec);
            //* Update all subdomains and alias domains
            $records = $app->db->queryAllRecords("SELECT domain_id FROM web_domain WHERE parent_domain_id = ".$this->id);
            foreach($records as $rec) {
                $app->db->datalogUpdate('web_domain', "sys_userid = '".$web_rec['sys_userid']."', sys_groupid = '".$web_rec['sys_groupid']."'", 'domain_id', $rec['domain_id']);
            }
            unset($records);
            unset($rec);
        }