From ed25ac16287048a84a27a889d7cd9c05d76aa08c Mon Sep 17 00:00:00 2001 From: wordish <42463480+wordish@users.noreply.github.com> Date: Thu, 28 Mar 2024 15:32:00 -0700 Subject: [PATCH] PHP 8 potentially undefined variable in view `$siteTypeID` is not always defined so will throw > Whoops \ Exception \ ErrorException (E_WARNING) > Undefined variable $siteTypeID When visiting `/dashboard/pages/types` on a fresh install in some cases. --- concrete/single_pages/dashboard/pages/types/view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/concrete/single_pages/dashboard/pages/types/view.php b/concrete/single_pages/dashboard/pages/types/view.php index a2cf8d870c9..631ac2cc7f5 100644 --- a/concrete/single_pages/dashboard/pages/types/view.php +++ b/concrete/single_pages/dashboard/pages/types/view.php @@ -103,7 +103,7 @@ } else { ?>
= t('You have not created any page types yet.'); ?>
- =t('Add Page Type'); ?> + =t('Add Page Type'); ?>