Some little fixes

This commit is contained in:
moodler
2003-01-02 15:25:51 +00:00
parent 5422d75fcb
commit 14217044a5
7 changed files with 13 additions and 11 deletions
+2 -1
View File
@@ -18,6 +18,7 @@
if ($config = data_submitted()) {
$config = (array)$config;
validate_form($config, $err);
if (count($err) == 0) {
@@ -39,7 +40,7 @@
/// Otherwise fill and print the form.
if (!isset($config)) {
if (empty($config)) {
$config = $CFG;
}