Skip to content

Commit 1c89d6b

Browse files
committed
Bugfix
#255
1 parent 899a64a commit 1c89d6b

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

resources/views/studio/links.blade.php

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,15 @@
22

33
@section('content')
44

5-
<?php use App\Models\Button; ?>
5+
<?php use App\Models\Button;
6+
7+
// Check if the LinkCount cookie is set
8+
if (isset($_COOKIE['LinkCount'])) {
9+
// Set the expiration time of the cookie to one hour in the past
10+
setcookie('LinkCount', '', time() - 3600);
11+
}
12+
13+
?>
614

715
@push('sidebar-stylesheets')
816
<script src="{{ asset('studio/external-dependencies/fontawesome.js') }}" crossorigin="anonymous"></script>

0 commit comments

Comments
 (0)