Skip to content

Commit 7103050

Browse files
committed
Fixed version check
1 parent 185f591 commit 7103050

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/Middleware/Settings.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ public function handle($request, Closure $next)
159159
if(Str::startsWith(config('laravel-crm.version'), '0.')) {
160160
$currentVersion = (int) Str::replace('.', '', config('laravel-crm.version'));
161161
} else {
162-
$currentVersion = (int) Str::replace('.', '', config('laravel-crm.version') * 10);
162+
$currentVersion = (int) Str::replace('.', '', config('laravel-crm.version')) * 10;
163163
}
164164

165165
if($currentVersion >= 180) {

0 commit comments

Comments
 (0)