Skip to content

Commit 8a42ff7

Browse files
authored
Merge pull request #46 from dmitry-viskov/regexp-bugfix
Fix regexp in the LTI_Names_Roles_Provisioning_Service
2 parents b668742 + 2eae4f5 commit 8a42ff7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lti/LTI_Names_Roles_Provisioning_Service.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function get_members() {
3131

3232
$next_page = false;
3333
foreach($page['headers'] as $header) {
34-
if (preg_match("/^Link:.*<([^>])>; ?rel=\"next\"/i", $header, $matches)) {
34+
if (preg_match("/^Link:.*<([^>]*)>; ?rel=\"next\"/i", $header, $matches)) {
3535
$next_page = $matches[1];
3636
break;
3737
}
@@ -41,4 +41,4 @@ public function get_members() {
4141

4242
}
4343
}
44-
?>
44+
?>

0 commit comments

Comments
 (0)