We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25a202c commit f9f24e9Copy full SHA for f9f24e9
src/Support/Traits/GlobalIdTrait.php
@@ -84,7 +84,9 @@ protected function decodeCursor(array $args)
84
return $resolver($args);
85
}
86
87
- return isset($args['after']) ? $this->getCursorId($args['after']) : 0;
+ return isset($args['after']) && !empty($args['after'])
88
+ ? $this->getCursorId($args['after'])
89
+ : 0;
90
91
92
/**
0 commit comments