From 52d3dbfe1fa062d64452e475e940afbfaf83a338 Mon Sep 17 00:00:00 2001 From: Agnibho Mondal Date: Sat, 22 May 2021 10:13:11 +0530 Subject: [PATCH] Bugfix --- lib/functions.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/functions.php b/lib/functions.php index 0c24e16..7bf171e 100644 --- a/lib/functions.php +++ b/lib/functions.php @@ -64,7 +64,13 @@ function schema2form($file, $pid=null, $id=null, $cat=null, $data=null){ $form=$form.""; } - $form=$form."
"; + if(!empty($data->extra_note)){ + $extra_note=$data->extra_note; + } + else{ + $extra_note=""; + } + $form=$form."
"; $form=$form.""; $form=$form.""; return $form; -- 2.39.5