diff --git a/application/views/system/udf.php b/application/views/system/udf.php index 058d73ec3..426c09f24 100644 --- a/application/views/system/udf.php +++ b/application/views/system/udf.php @@ -1,7 +1,7 @@ load->view("templates/header", array("title" => "UDF", "widgetsCSS" => true)); ?> - + - + Saved! - +
retval; - foreach ($errors as $error) + if(is_array($errors)) { - foreach ($error as $fieldError) + foreach ($errors as $error) { - echo $fieldError->msg . ' -> ' . $fieldError->retval . '
'; + foreach ($error as $fieldError) + { + echo $fieldError->msg . ' -> ' . $fieldError->retval . '
'; + } } } + else + echo $result->retval; ?> - +


@@ -43,7 +48,7 @@ } ?>
- +
@@ -120,7 +125,7 @@
- + - +
- + - -load->view("templates/footer"); ?> \ No newline at end of file + +load->view("templates/footer"); ?>