Skip to content

Commit

Permalink
next version is beta version
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasCARPi committed Jul 25, 2023
1 parent 132db5d commit 69baf1c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions src/Auth/Local.php
Expand Up @@ -69,12 +69,11 @@ public static function enforceMfa(
AuthResponse $AuthResponse,
int $enforceMfa
): bool {
return (!$AuthResponse->mfaSecret
return !$AuthResponse->mfaSecret
&& self::isMfaEnforced(
$AuthResponse->userid,
$enforceMfa,
)
);
);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Auth/Saml.php
Expand Up @@ -253,7 +253,7 @@ private function getTeams(): array | int
}

if (is_array($teams)) {
return ($teams);
return $teams;
}

if (is_string($teams)) {
Expand Down
2 changes: 1 addition & 1 deletion src/classes/App.php
Expand Up @@ -44,7 +44,7 @@ class App
use UploadTrait;
use TwigTrait;

public const INSTALLED_VERSION = '4.8.0-alpha';
public const INSTALLED_VERSION = '4.8.0-beta';

public const WHATSNEWLINK = 'https://www.deltablot.com/posts/release-480/';

Expand Down
2 changes: 1 addition & 1 deletion src/models/AbstractEntity.php
Expand Up @@ -223,7 +223,7 @@ public function readAll(): array
public function readShow(DisplayParams $displayParams, bool $extended = false, string $can = 'canread'): array
{
// (extended) search (block must be before the call to getReadSqlBeforeWhere so extendedValues is filled)
if (!empty($displayParams->query) or !empty($displayParams->extendedQuery)) {
if (!empty($displayParams->query) || !empty($displayParams->extendedQuery)) {
$this->processExtendedQuery(trim($displayParams->query . ' ' . $displayParams->extendedQuery));
}

Expand Down

0 comments on commit 69baf1c

Please sign in to comment.