File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -3967,7 +3967,7 @@ public function getFksTo(string $tableName): array
39673967 {
39683968 $ columns = array ();
39693969 foreach ($ this ->fks as $ columnName => $ referencedTableName ) {
3970- if ($ tableName == $ referencedTableName ) {
3970+ if ($ tableName == $ referencedTableName && ! is_null ( $ this -> columns [ $ columnName ]) ) {
39713971 $ columns [] = $ this ->columns [$ columnName ];
39723972 }
39733973 }
@@ -7602,10 +7602,10 @@ public function process(ServerRequestInterface $request, RequestHandlerInterface
76027602 return $ this ->responder ->error (ErrorCode::AUTHENTICATION_REQUIRED , '' );
76037603 }
76047604 if ($ method == 'GET ' && $ path == 'me ' ) {
7605- if (isset ($ _SESSION ['user ' ])) {
7606- return $ this ->responder ->success ($ _SESSION ['user ' ]);
7607- }
7608- return $ this ->responder ->error (ErrorCode::AUTHENTICATION_REQUIRED , '' );
7605+ if (isset ($ _SESSION ['user ' ])) {
7606+ return $ this ->responder ->success ($ _SESSION ['user ' ]);
7607+ }
7608+ return $ this ->responder ->error (ErrorCode::AUTHENTICATION_REQUIRED , '' );
76097609 }
76107610 if (!isset ($ _SESSION ['user ' ]) || !$ _SESSION ['user ' ]) {
76117611 $ authenticationMode = $ this ->getProperty ('mode ' , 'required ' );
You can’t perform that action at this time.
0 commit comments