From 2214b37945cc1e1697fccb3fcd2bb70a5245e229 Mon Sep 17 00:00:00 2001 From: Craig Knudsen Date: Sat, 31 Aug 2024 15:27:29 -0400 Subject: [PATCH] Fixes for errors in views --- set_entry_cat.php | 2 +- view_d.php | 3 ++- view_l.php | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/set_entry_cat.php b/set_entry_cat.php index b3a435e3c..51f98c089 100644 --- a/set_entry_cat.php +++ b/set_entry_cat.php @@ -120,7 +120,7 @@ echo <<{$setCatStr}
- ${formKey} + {$formKey} diff --git a/view_d.php b/view_d.php index 9a9cf4263..466eb02ad 100644 --- a/view_d.php +++ b/view_d.php @@ -20,6 +20,7 @@ * (except for nonuser calendars... which we allow regardless of group). */ // $start = microtime(); +require_once 'includes/init.php'; require_once 'includes/views.php'; $error = ''; @@ -79,7 +80,7 @@ - ${formKey} + {$formKey} diff --git a/view_l.php b/view_l.php index 3dddaa92c..578722f38 100644 --- a/view_l.php +++ b/view_l.php @@ -21,8 +21,9 @@ * groups (except for nonuser calendars... which we allow regardless of group). */ +require_once 'includes/init.php'; require_once 'includes/views.php'; - +$id=getValue('id'); view_init ( $id ); $error = $printerStr = $unapprovedStr = '';