mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-05 00:59:35 +00:00
contrib: lint fetch_contributors.php
This commit is contained in:
parent
5df8bf956a
commit
30553d8665
@ -37,7 +37,7 @@ while($next) { /* Collect all contributors */
|
|||||||
foreach($links as $link) {
|
foreach($links as $link) {
|
||||||
list($url, $type) = explode(';', $link, 2);
|
list($url, $type) = explode(';', $link, 2);
|
||||||
|
|
||||||
if(trim($type) === 'rel="next"'){
|
if(trim($type) === 'rel="next"') {
|
||||||
$url = trim(preg_replace('/([<>])/', '', $url));
|
$url = trim(preg_replace('/([<>])/', '', $url));
|
||||||
$next = true;
|
$next = true;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user