From 9dbb3b5dc06945fbbb2772d74b1c82319d11dedd Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Wed, 6 Apr 2016 15:24:49 +0100 Subject: [PATCH] Fixes issue where single changes were not displaying. Fixes #57 --- build/index.php | 4 ++++ module_index.json | 2 +- modules/feature-recent-changes.php | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/build/index.php b/build/index.php index 43b5e28..625e052 100644 --- a/build/index.php +++ b/build/index.php @@ -1763,6 +1763,10 @@ function render_recent_changes($recent_changes) $content .= "$next_entry\n"; } + else + { + $content .= implode("\n", $rchange_results); + } $last_time = date("dmY", $rchange->timestamp); } diff --git a/module_index.json b/module_index.json index 74ff638..3a5c587 100644 --- a/module_index.json +++ b/module_index.json @@ -41,7 +41,7 @@ "author": "Starbeamrainbowlabs", "description": "Adds recent changes. Access through the 'recent-changes' action.", "id": "feature-recent-changes", - "lastupdate": 1459774466, + "lastupdate": 1459952614, "optional": false }, { diff --git a/modules/feature-recent-changes.php b/modules/feature-recent-changes.php index 08a6eb7..c743fc6 100644 --- a/modules/feature-recent-changes.php +++ b/modules/feature-recent-changes.php @@ -167,6 +167,10 @@ function render_recent_changes($recent_changes) $content .= "$next_entry\n"; } + else + { + $content .= implode("\n", $rchange_results); + } $last_time = date("dmY", $rchange->timestamp); }