Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Commit 1380c3e

Browse files
committed
Fixed test for scrape of dead wiki
1 parent 6b2fb26 commit 1380c3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

includes/data/query/Wiki.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public function doQuery( int $pageID, string $export = "table" ): mixed {
149149
return $result;
150150
}
151151
$result['wiki']['w8y_pageTitle'] = Utils::getPageTitleFromID( $pageID );
152-
if ( $result['scrape'][Structure::SCRAPE_IS_ALIVE] === 0 ) {
152+
if ( $result['scrape'][Structure::SCRAPE_IS_ALIVE] === "0" ) {
153153
$result['extensions'] = [];
154154
$result['skins'] = [];
155155
} else {
@@ -164,4 +164,4 @@ public function doQuery( int $pageID, string $export = "table" ): mixed {
164164
default => "",
165165
};
166166
}
167-
}
167+
}

0 commit comments

Comments
 (0)