From d1d8180e393ee9b146879751dc23d2d20a2708d8 Mon Sep 17 00:00:00 2001 From: SamBrishes Date: Mon, 31 Dec 2018 10:31:51 +0100 Subject: [PATCH 1/2] Fix for Issue #897 --- bl-kernel/ajax/get-published.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bl-kernel/ajax/get-published.php b/bl-kernel/ajax/get-published.php index b7688f47..d773d480 100644 --- a/bl-kernel/ajax/get-published.php +++ b/bl-kernel/ajax/get-published.php @@ -13,7 +13,7 @@ if ($query===false) { ))); } -$list = array(); +$tmp = array(); $published = $pages->getPublishedDB(); $statics = $pages->getStaticDB(); $pagesKey = array_merge($published, $statics); @@ -33,4 +33,4 @@ foreach ($pagesKey as $pageKey) { exit (json_encode($tmp)); -?> \ No newline at end of file +?> From b69ba4512ce0179934614c300f4642237720890f Mon Sep 17 00:00:00 2001 From: SamBrishes Date: Mon, 31 Dec 2018 10:35:27 +0100 Subject: [PATCH 2/2] Remove EOF Whitespace --- bl-kernel/ajax/get-published.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bl-kernel/ajax/get-published.php b/bl-kernel/ajax/get-published.php index d773d480..00ca63f9 100644 --- a/bl-kernel/ajax/get-published.php +++ b/bl-kernel/ajax/get-published.php @@ -33,4 +33,4 @@ foreach ($pagesKey as $pageKey) { exit (json_encode($tmp)); -?> +?> \ No newline at end of file