Commit 25708854 authored by Luke081515's avatar Luke081515

Merge branch 'patch-1' into 'release/2.1'

Update BotCore.php

See merge request !53
parents 68ca9e70 4f57e17b
......@@ -260,7 +260,7 @@ class Core extends password {
throw $e;
}
$pageID = $page['query']['pageids'][0];
return $text['query']['pages'][$pageID]['revisions'][0]['*'];
return $page['query']['pages'][$pageID]['revisions'][0]['*'];
}
/** readPage
* Liest eine Seite aus
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment