From 009c89482e0f9ba5549124b556c0068f149f6f55 Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Sun, 19 Apr 2020 18:37:30 -0600 Subject: [PATCH] fix preview/compile ajax calls --- classes/plugin/AdminController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/plugin/AdminController.php b/classes/plugin/AdminController.php index 66d69ff3..a0eb49e3 100644 --- a/classes/plugin/AdminController.php +++ b/classes/plugin/AdminController.php @@ -2164,7 +2164,7 @@ class AdminController extends AdminBaseController } $preview = $this->data['preview'] ?? false; - $data = ['color_scheme' => $this->data['color_scheme'] ?? null]; + $data = ['color_scheme' => $this->data['whitebox']['color_scheme'] ?? null]; if ($preview) { // send through some tmp filenames