From f5cbbecaf541cd98f8a804a24b53e59e9d79e631 Mon Sep 17 00:00:00 2001 From: moodler Date: Wed, 9 Apr 2003 13:41:11 +0000 Subject: [PATCH] empty() --> !isset() --- mod/journal/mod.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mod/journal/mod.html b/mod/journal/mod.html index b62975b903..91907eae27 100644 --- a/mod/journal/mod.html +++ b/mod/journal/mod.html @@ -1,11 +1,11 @@ name)) { + if (!isset($form->name)) { $form->name = ""; } - if (empty($form->intro)) { + if (!isset($form->intro)) { $form->intro = ""; } - if (empty($form->days)) { + if (!isset($form->days)) { $form->days = "14"; } ?> -- 2.39.5