Skip to content

Commit 349d213

Browse files
Version 7.8 - Small bug fix at logs and sales
1 parent cfbf377 commit 349d213

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

logs.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?php
22
include_once 'functions/authentication.php';
3-
session_start();
4-
if ($_SESSION['level'] = 1){
3+
if ($_SESSION['level'] == 1){
54
header('Location: index.php?type=error&message=You are not allowed to access this page.');
65
}
76
?>

sales.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
<table class="table table-striped my-0" id="dataTable">
6969
<thead>
7070
<tr>
71-
<th>ID</th>
71+
<th>Transaction ID</th>
7272
<th>Customer</th>
7373
<th>User</th>
7474
<th>KG/Kilo</th>

0 commit comments

Comments
 (0)