From 9d24f3238a4bb0a554d6249211715c651ad75180 Mon Sep 17 00:00:00 2001 From: nilsteampassnet Date: Mon, 23 Oct 2023 11:42:03 +0200 Subject: [PATCH] 3.0.10 Fix typo --- includes/config/include.php | 2 +- sources/tasks.queries.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/config/include.php b/includes/config/include.php index 8e3c72b48..f7beba4dd 100755 --- a/includes/config/include.php +++ b/includes/config/include.php @@ -17,7 +17,7 @@ */ define('TP_VERSION', '3.0.10'); define("UPGRADE_MIN_DATE", "1697990713"); -define('TP_VERSION_MINOR', '84'); +define('TP_VERSION_MINOR', '85'); define('TP_TOOL_NAME', 'Teampass'); define('TP_ONE_DAY_SECONDS', 86400); define('TP_ONE_WEEK_SECONDS', 604800); diff --git a/sources/tasks.queries.php b/sources/tasks.queries.php index 6fdfa98bd..0b0f16c03 100644 --- a/sources/tasks.queries.php +++ b/sources/tasks.queries.php @@ -259,7 +259,7 @@ function performTask(string $task, string $dir, string $phpBinaryPath, string $d require_once __DIR__.'/../includes/libraries/Symfony/Component/Process/Process.php'; require_once __DIR__.'/../includes/libraries/Symfony/Component/Process/ExecutableFinder.php'; require_once __DIR__.'/../includes/libraries/Symfony/Component/Process/PhpExecutableFinder.php'; - + switch ($task) { case 'users_personal_folder_task': @@ -308,7 +308,7 @@ function performTask(string $task, string $dir, string $phpBinaryPath, string $d } // execute the process - if (undefined !== $process) { + if (isset($process) === true) { try { $process->start();