Apple PWA fixes
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user