From f7e1879bca3a5d760f1ae3ac6c9eb5433d90416f Mon Sep 17 00:00:00 2001 From: steven-y-e Date: Mon, 15 Mar 2021 19:00:28 -0400 Subject: [PATCH] fix(functions): getDriveValues --- public/php/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/php/functions.php b/public/php/functions.php index 5af92a4..5bd3c61 100644 --- a/public/php/functions.php +++ b/public/php/functions.php @@ -23,7 +23,7 @@ $drive->spaceFree = disk_free_space($drive->location); $drive->spaceTotal = disk_total_space($drive->location); $drive->spaceUsed = getDifference( - $drive->spaceFree, $drive->spaceTotal); + $drive->spaceTotal, $drive->spaceFree); $drive->spacePercentageUsed = getPercentageUsed( $drive->spaceTotal, $drive->spaceUsed); }