From c81b34eeca16bf41ab9153a8b9087bfa63e8fd83 Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Sat, 23 Oct 2021 18:15:03 +0200 Subject: [PATCH] bug fix for page autosave --- bl-kernel/admin/views/editor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bl-kernel/admin/views/editor.php b/bl-kernel/admin/views/editor.php index e6b460a9..b8da1e32 100644 --- a/bl-kernel/admin/views/editor.php +++ b/bl-kernel/admin/views/editor.php @@ -59,7 +59,7 @@ // Save the current page // This function set the global variable "_pageKey" - function savePage(args) { + function savePage(args = []) { logs('Saving page.'); if (_pageKey == null) {