diff --git a/lam/templates/massDoUpload.php b/lam/templates/massDoUpload.php index 3422a44a..2be86315 100644 --- a/lam/templates/massDoUpload.php +++ b/lam/templates/massDoUpload.php @@ -90,7 +90,7 @@ if (($_SESSION['mass_counter'] < sizeof($accounts)) || !isset($_SESSION['mass_po // do post upload actions if ($_SESSION['mass_counter'] >= sizeof($accounts)) { $data = unserialize($_SESSION['ldap']->decrypt($_SESSION['mass_data'])); - $return = doUploadPostActions($_SESSION['mass_scope'], $data, $_SESSION['mass_ids'], $failed); + $return = doUploadPostActions($_SESSION['mass_scope'], $data, $_SESSION['mass_ids'], $_SESSION['mass_failed']); if ($return['status'] == 'finished') { $_SESSION['mass_postActions']['finished'] = true; } @@ -102,7 +102,7 @@ if (($_SESSION['mass_counter'] < sizeof($accounts)) || !isset($_SESSION['mass_po echo ""; flush(); while (!isset($_SESSION['mass_postActions']['finished']) && ($startTime + $maxTime > time())) { - $return = doUploadPostActions($_SESSION['mass_scope'], $data, $_SESSION['mass_ids'], $failed); + $return = doUploadPostActions($_SESSION['mass_scope'], $data, $_SESSION['mass_ids'], $_SESSION['mass_failed']); if ($return['status'] == 'finished') { $_SESSION['mass_postActions']['finished'] = true; }