mirror of
https://github.com/prasathmani/tinyfilemanager.git
synced 2026-04-26 10:55:56 +03:00
[PR #80] [MERGED] Fix Undefined variable _SESSION notice #889
Labels
No labels
Feature
Feature
Is It Really an Issue?
Need More Info
Request
Security
bug
duplicate
enhancement
enhancement
help wanted
invalid
pull-request
question
suggestion
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tinyfilemanager#889
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/prasathmani/tinyfilemanager/pull/80
Author: @FH3095
Created: 11/15/2018
Status: ✅ Merged
Merged: 11/16/2018
Merged by: @prasathmani
Base:
master← Head:master📝 Commits (1)
1a28a09Fix Undefined variable _SESSION notice📊 Changes
1 file changed (+3 additions, -1 deletions)
View changed files
📝
tinyfilemanager.php(+3 -1)📄 Description
When use_auth is false, session_start is never called. Therefore $_SESSION is undefined.
I assume without auth the whole avatar-dropdown-menu is not needed so I wrapped it into an if-block.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.