Since merging #665 `serendipity_plugin_history` breaks with a SQL error message on every archive page but the first one; see #693 for reason and context. Unset `$serendipity['GET']['page']` before calling `serendipity_fetchEntries()` (and reset afterwards) to fix that. That's the correct way, I think, as `serendipity_fetchEntries()` is not called in page context here. Add a note to serendipity_fetchEntries() about the problem with page context. Also don't fallback to last page if $totalPages < 1 in serendipity_fetchEntries() That should at least avoid SQL errors. Signed-off-by: Thomas Hochstein <thh@inter.net>
README ------ For the most up-to-date information on documentation, creating styles, plugins and so on, please visit our website on https://s9y.org