From b895da55ee1c1fd076e6434ca206f96b2fa37522 Mon Sep 17 00:00:00 2001 From: nathan Date: Wed, 8 Nov 2023 08:29:34 -0700 Subject: [PATCH] Make sure pdo is connected, fixes error in some Sharing tests --- api/src/Vfs/Sqlfs/StreamWrapper.php | 1 + 1 file changed, 1 insertion(+) diff --git a/api/src/Vfs/Sqlfs/StreamWrapper.php b/api/src/Vfs/Sqlfs/StreamWrapper.php index 2c2ea5c747..418530573e 100644 --- a/api/src/Vfs/Sqlfs/StreamWrapper.php +++ b/api/src/Vfs/Sqlfs/StreamWrapper.php @@ -1673,6 +1673,7 @@ GROUP BY A.fs_id'; { $query = '/* '.__METHOD__.': '.__LINE__.' */ '.$query; } + self::connection(); $stmt = self::$pdo->prepare($query); $stmt->execute(array($fs_id));