]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Session/DatabaseSessionHandler.php
Merge branch 'develop' into bug/6211-fix-contact-nets-all
[friendica.git] / src / Core / Session / DatabaseSessionHandler.php
index 91788588faeb3f77e775feae960ac3dfbcceee77..c4f23b1bfc6424dc3beba1947b0133768b9ea3f2 100644 (file)
@@ -26,7 +26,7 @@ class DatabaseSessionHandler extends BaseObject implements SessionHandlerInterfa
 
        public function read($session_id)
        {
-               if (!x($session_id)) {
+               if (empty($session_id)) {
                        return '';
                }