Fix travis

This commit is contained in:
andreubisquerra 2021-10-27 17:44:07 +02:00 committed by GitHub
parent b81d826f88
commit 9cd6e7ac75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1130,8 +1130,7 @@ if ($reshook == 0) { //add buttons
$menus[$r++] = $butmenu;
}
}
}
elseif ($reshook == 1) {
} elseif ($reshook == 1) {
$r = 0; //replace buttons
if (is_array($hookmanager->resArray) ) {
foreach ($hookmanager->resArray as $resArray) {