fix returning data types

This commit is contained in:
d47081 2022-07-15 17:08:26 +03:00
parent e4782a642a
commit b69634ee30

View File

@ -87,7 +87,7 @@ class SQLite {
$result = $query->fetch();
return $result ? $result['value'] : false;
return $result ? $result['value'] : '';
} catch(PDOException $e) {
@ -109,7 +109,7 @@ class SQLite {
$query->execute([$txid]);
return $query->rowCount() ? $query->fetch()['hash'] : [];
return $query->rowCount() ? $query->fetch()['hash'] : '';
} catch(PDOException $e) {