summaryrefslogtreecommitdiffstats
path: root/static/volunteer
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2019-05-23 18:55:42 -0400
committerrsiddharth <s@ricketyspace.net>2019-05-23 18:55:42 -0400
commit39510ce9c859f8df540864780c0e651074db2406 (patch)
treef86c4cfa3af0b38ec006f85166796a35d1e82681 /static/volunteer
parent5cff9a3ad4c92cc101df5e292ec556b70d72c53a (diff)
volunteer/submit/index.php: Update post.
* static/volunteer/submit/index.php (post): Fix error check.
Diffstat (limited to 'static/volunteer')
-rw-r--r--static/volunteer/submit/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/volunteer/submit/index.php b/static/volunteer/submit/index.php
index dc6f1a7..9c3fc5a 100644
--- a/static/volunteer/submit/index.php
+++ b/static/volunteer/submit/index.php
@@ -48,7 +48,7 @@ function post() {
}
$sok = true;
- if (empty($error)) {
+ if (empty($errors)) {
$sok = send($n, $e, $m);
}
if (!$sok) {