From d1d8180e393ee9b146879751dc23d2d20a2708d8 Mon Sep 17 00:00:00 2001 From: SamBrishes Date: Mon, 31 Dec 2018 10:31:51 +0100 Subject: [PATCH] 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 +?>