From c64c41d049a8a33d83055806dc687f9abbfbc863 Mon Sep 17 00:00:00 2001 From: abarrau Date: Sun, 24 Sep 2023 09:36:21 +0200 Subject: [PATCH 1/2] correction of variable name --- application/controllers/Logbook.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/Logbook.php b/application/controllers/Logbook.php index 801fafc0..a6792e67 100644 --- a/application/controllers/Logbook.php +++ b/application/controllers/Logbook.php @@ -204,7 +204,7 @@ class Logbook extends CI_Controller { } if (isset($user_gridmap_confirmation) && strpos($user_gridmap_confirmation, 'E') !== false) { if ($extrawhere!='') { - $extrawherei.=" OR"; + $extrawhere.=" OR"; } $extrawhere.=" COL_EQSL_QSL_RCVD='Y'"; } From 72f0cffab5353adfb6bde8138576d7317fa8372a Mon Sep 17 00:00:00 2001 From: abarrau Date: Mon, 25 Sep 2023 12:00:01 +0200 Subject: [PATCH 2/2] Update Eqsl.php correction for folderSize() function --- application/controllers/Eqsl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/Eqsl.php b/application/controllers/Eqsl.php index f6a29e6b..67a2e0b2 100644 --- a/application/controllers/Eqsl.php +++ b/application/controllers/Eqsl.php @@ -755,7 +755,7 @@ class eqsl extends CI_Controller { foreach($dir_array as $key=>$filename){ if($filename!=".." && $filename!="."){ if(is_dir($dir."/".$filename)){ - $new_foldersize = foldersize($dir."/".$filename); + $new_foldersize = $this->foldersize($dir."/".$filename); $count_size = $count_size+ $new_foldersize; }else if(is_file($dir."/".$filename)){ $count_size = $count_size + filesize($dir."/".$filename);