From 4f6e8690e271da36965a68618098dc7e7fc437ef Mon Sep 17 00:00:00 2001
From: rtherville <romain.therville@inra.fr>
Date: Mon, 6 Dec 2021 11:04:26 +0100
Subject: [PATCH] Update to class.tx_nG6_pi6_purge.php

on line 173, the purge_delay param had 2 $.
Issue #217
---
 ui/nG6/Classes/Controller/class.tx_nG6_pi6_purge.php | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/ui/nG6/Classes/Controller/class.tx_nG6_pi6_purge.php b/ui/nG6/Classes/Controller/class.tx_nG6_pi6_purge.php
index dd8345eb0..64b2d386d 100644
--- a/ui/nG6/Classes/Controller/class.tx_nG6_pi6_purge.php
+++ b/ui/nG6/Classes/Controller/class.tx_nG6_pi6_purge.php
@@ -52,7 +52,6 @@ class tx_nG6_pi6_purge {
         $envelope_sender_address = $extbaseFrameworkConfiguration['plugin.']['tx_nG6_pi6.']["envelope_sender_address"];
         $email_warning= $extbaseFrameworkConfiguration['plugin.']['tx_nG6_pi6.']["email_warning"];
         
-        
         foreach(explode(",", $project_ids) as $project_id){
 			#retrieve project data
 			$p=tx_nG6_db::select_a_project_retention_data_info($project_id, FALSE, TRUE);
@@ -172,7 +171,7 @@ class tx_nG6_pi6_purge {
             			
             	$mail = tx_nG6_utils::get_purge_mail($p[$project_id]["project_name"],$project_id, $nb_run_purgeable,$nb_analyse_purgeable, $purge_demand_id,
 					tx_nG6_utils::get_octet_string_representation($p[$project_id]["total_purgeable_size"]),    tx_nG6_utils::get_octet_string_representation($total_project_size),
-            	    $$delay_purge,
+            	    $delay_purge,
             	    $extension_url_price,$min_extension_duration,
             	    $min_extension_size, $email_warn,  join(', ', $run_info), join(', ', $analyses_info), $extension_allowed);
             			
-- 
GitLab