Skip to content

Replace $_SESSION['aid'] with CUserManager->GetAid()#561

Merged
Groruk merged 3 commits intosbpp:v1.xfrom
Groruk:fix-session-vars
Feb 11, 2019
Merged

Replace $_SESSION['aid'] with CUserManager->GetAid()#561
Groruk merged 3 commits intosbpp:v1.xfrom
Groruk:fix-session-vars

Conversation

@Groruk
Copy link
Member

@Groruk Groruk commented Feb 11, 2019

Fix #560

Description

Remove unused $_SESSION['getInfo']
and replace $_SESSION['aid'] with CUserManager->GetAid()

Motivation and Context

$_SESSION['aid'] is defunct with #554

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.

@Groruk Groruk merged commit 29842fd into sbpp:v1.x Feb 11, 2019
@Groruk Groruk changed the title Fix session vars Replace $_SESSION['aid'] with CUserManager->GetAid() Feb 11, 2019
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.

Fatal error: Uncaught PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'aid' cannot be null in

1 participant