diff --git a/src/do_actions.php b/src/do_actions.php index f037619b..cbf1aa42 100644 --- a/src/do_actions.php +++ b/src/do_actions.php @@ -228,7 +228,7 @@ while ($rr=$action->get_action()){ // We finished the action, notify the DB. d("Finishing... return value is : $return\n"); if(!$action->finish($r["id"],addslashes($return))){ - $error_raise.="Cannot finish the action! Error while inserting the error value in the DB for action n°".$c["id"]." : action '".$c["type"]."'\nReturn value: ".addslashes($return)."\n"; + $error_raise.="Cannot finish the action! Error while inserting the error value in the DB for action n°".$r["id"]." : action '".$c["type"]."'\nReturn value: ".addslashes($return)."\n"; break; // Else we go into an infinite loop... AAAAHHHHHH } } diff --git a/src/spoolsize.php b/src/spoolsize.php index 52116517..cbcef6a0 100644 --- a/src/spoolsize.php +++ b/src/spoolsize.php @@ -2,8 +2,6 @@ query("SELECT uid, name FROM mailman;")) { - $c=array(); + $cc=array(); $d=array(); if($db->num_rows()){ while ($db->next_record()) { @@ -50,7 +48,5 @@ if ($db->query("SELECT uid, name FROM mailman;")) { } } -// On relocke le bureau pour éviter un msg d'erreur. -@sem_acquire( $alternc_sem ); ?>