From 9c82f43d441bd54b81383b474e3cbbf2a79936a1 Mon Sep 17 00:00:00 2001 From: nilsteampassnet Date: Sat, 18 Nov 2023 07:33:17 +0100 Subject: [PATCH] 3.0.10 Reverted previous fix for #3945 (deeper investigation to be done) --- includes/config/include.php | 2 +- sources/items.queries.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/config/include.php b/includes/config/include.php index 86eba3339..caea3410b 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', '151'); +define('TP_VERSION_MINOR', '153'); define('TP_TOOL_NAME', 'Teampass'); define('TP_ONE_DAY_SECONDS', 86400); define('TP_ONE_WEEK_SECONDS', 604800); diff --git a/sources/items.queries.php b/sources/items.queries.php index 49b2d06ca..e78a370d8 100755 --- a/sources/items.queries.php +++ b/sources/items.queries.php @@ -2756,7 +2756,7 @@ } else if (DB::count() === 0 && (int) $row['encrypted_data'] === 0) { // Data is not encrypted in DB $fieldText = [ - 'string' => isBase64($row['data']) === true ? base64_decode($row['data']) : $row['data'], + 'string' => $row['data'],//#3945 - isBase64($row['data']) === true ? base64_decode($row['data']) : 'encrypted' => false, 'error' => false, ];