Skip to content

Fix error in helpdesk.php#516

Merged
Znote merged 2 commits intoZnote:v2from
luanluciano93:patch-2
Jul 10, 2022
Merged

Fix error in helpdesk.php#516
Znote merged 2 commits intoZnote:v2from
luanluciano93:patch-2

Conversation

@luanluciano93
Copy link
Contributor

Error: Warning: Trying to access array offset on value of type bool in C:....\helpdesk.php on line 34

if($ticketData['owner'] != $session_user_id) {

If I put a non-existent ID in the URL, it throws the error.

@Znote Znote merged commit 5e67cf7 into Znote:v2 Jul 10, 2022
@luanluciano93 luanluciano93 deleted the patch-2 branch July 10, 2022 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants