release 1.2.6

This commit is contained in:
Newcomer1989
2018-03-25 16:24:53 +02:00
parent eb49e55c06
commit 52747fdce7
29 changed files with 879 additions and 363 deletions

View File

@@ -1,5 +1,5 @@
<?PHP
function update_groups($ts3,$mysqlcon,$lang,$dbname,$slowmode,$timezone,$serverinfo,$logpath,$grouptime,$boostarr,$exceptgroup,$select_arr) {
function update_groups($ts3,$mysqlcon,$lang,$dbname,$slowmode,$timezone,$serverinfo,$logpath,$grouptime,$boostarr,$exceptgroup,$select_arr,$nobreak = 0) {
$sqlexec = '';
try {
usleep($slowmode);
@@ -107,7 +107,7 @@ function update_groups($ts3,$mysqlcon,$lang,$dbname,$slowmode,$timezone,$serveri
if(!isset($iconarr["i".$iconid])) {
$iconarr["i".$iconid] = 0;
}
if(count($select_arr['groups']) != 0) {
if(isset($select_arr['groups']) && count($select_arr['groups']) != 0) {
foreach ($select_arr['groups'] as $sqlgid => $groups) {
if ($sqlgid == $sgid) {
$gefunden = 1;
@@ -136,7 +136,7 @@ function update_groups($ts3,$mysqlcon,$lang,$dbname,$slowmode,$timezone,$serveri
"icondate" => $iconarr["i".$iconid]
);
}
if($iconcount > 9) {
if($iconcount > 9 && $nobreak != 1) {
break;
}
}