Skip to content

Commit 77263ae

Browse files
Version 7.7 - Small bug fixed on profile.php
1 parent 209edc5 commit 77263ae

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

profile.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: profile-staff.php');
65
}
76
?>

0 commit comments

Comments
 (0)