Fix obsolete, now erroneous type-casting of used memory size to string

for calling human_filesize

phpcs-errors:226 phpunit-status:successful
This commit is contained in:
2020-08-11 13:39:47 +02:00
committed by Stefan Rohde-Enslin
parent 11c63fc58e
commit 76b5069b15
3 changed files with 3 additions and 4 deletions

View File

@ -2,8 +2,7 @@
declare(strict_types = 1);
require_once __DIR__ . "/functions/functions.php";
$target = "csv/";
$target .= basename($_FILES['uploaded']['name']);
$target = "csv/" . basename($_FILES['uploaded']['name']);
$targetpart = basename($_FILES['uploaded']['name']);
if (session_status() != PHP_SESSION_ACTIVE) {