summaryrefslogtreecommitdiffstats
path: root/app/class
diff options
context:
space:
mode:
Diffstat (limited to 'app/class')
-rw-r--r--app/class/model.class.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/class/model.class.php b/app/class/model.class.php
index 4f597f7..85bcf54 100644
--- a/app/class/model.class.php
+++ b/app/class/model.class.php
@@ -64,6 +64,14 @@ abstract class Model extends Framework
{
$this->noticelist[] = $str;
}
+
+ /*
+ * Log errors from a Form
+ */
+ function logFormErrors($obj)
+ {
+ $this->errorlist = array_merge($this->errorlist, $obj->errorlist);
+ }
}
?>