mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-12-03 13:49:56 +09:00
Fix #607 WHM Unable create account as root
This commit is contained in:
1 parent
58c4a75ff4
commit
5481f9aed6
1 file changed
+2
-4
@@ -343,9 +343,7 @@ class Server_Manager_Whm extends Server_Manager
|
||||
private function _getPackageName(Server_Package $package)
|
||||
{
|
||||
$name = $package->getName();
|
||||
if($this->_config['username'] != 'root') {
|
||||
$name = $this->_config['username'].'_'.$name;
|
||||
}
|
||||
$name = $this->_config['username'].'_'.$name;
|
||||
|
||||
return $name;
|
||||
}
|
||||
@@ -2699,4 +2697,4 @@ class xmlapi {
|
||||
}
|
||||
return $this->api2_query($username, 'StatsBar', 'stat', $values);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user