Skip to content

Commit

Permalink
3.1.9
Browse files Browse the repository at this point in the history
Fix a code mistake
  • Loading branch information
root authored and root committed Dec 7, 2023
1 parent 3310968 commit be3db65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion includes/config/include.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/
define('TP_VERSION', '3.1.0');
define("UPGRADE_MIN_DATE", "1697990713");
define('TP_VERSION_MINOR', '10');
define('TP_VERSION_MINOR', '11');
define('TP_TOOL_NAME', 'Teampass');
define('TP_ONE_DAY_SECONDS', 86400);
define('TP_ONE_WEEK_SECONDS', 604800);
Expand Down
2 changes: 1 addition & 1 deletion sources/items.queries.php
Original file line number Diff line number Diff line change
Expand Up @@ -3271,7 +3271,7 @@
$SETTINGS['cpassman_dir']
);

if (empty($inputData['itemId']) === true && (empty($inputData['itemKey']) === true || undefined($inputData['itemKey']) === true)) {
if (empty($inputData['itemId']) === true && (empty($inputData['itemKey']) === true || is_null($inputData['itemKey']) === true)) {
echo (string) prepareExchangedData(
array(
'error' => true,
Expand Down

0 comments on commit be3db65

Please sign in to comment.