Permissions fix

This commit is contained in:
Jenkings
2024-01-12 06:30:28 +00:00
parent 9a2f536fac
commit 5e39a4f1aa

View File

@@ -119,7 +119,7 @@ class Pages {
}
public function update(){
if($_SESSION['user_type'] != 2) return;
if($_SESSION['user_type'] != 1) return;
if($this->id) {
$stmt = $this->conn->prepare("