Apple PWA fixes

This commit is contained in:
Joey Kimsey
2025-02-07 16:14:00 -05:00
parent 4dd66c6f56
commit c40b29e812
8 changed files with 53 additions and 9 deletions

View File

@ -59,7 +59,7 @@ class Sessions extends DatabaseModel {
public function checkSession( $sessionID ) {
$user = new User;
// @todo lets put this on some sort of realistic checking regime other than check everything every time
if ( $sessionID == false ) {
if ( empty( $sessionID ) ) {
Debug::log( 'sessionID false' );
return false;
}