Skip to content

Fix SQL error in plugin_history.

onli requested to merge github/fork/th-h/master into master

Created by: th-h

Since merging #665 serendipity_plugin_history breaks with a SQL error message on every archive page but the first one; see #693 (closed) for reasons 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.

Signed-off-by: Thomas Hochstein thh@inter.net

Merge request reports