summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormischa <mischa@rx.high5.nl>2020-07-02 14:13:57 +0200
committermischa <mischa@rx.high5.nl>2020-07-02 14:13:57 +0200
commitfb0dc424848921cfa20b57d6f8f5222f096cd91a (patch)
treef4f876de8d33661af53dad47af8f1e6c38718f01
parentbbad10f39691a0d42931aa16c734072f6a42433c (diff)
added 'cache' mysql field in vacation query, failed it doesn't have a default valueHEADmaster
-rw-r--r--users/vacation.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/vacation.php b/users/vacation.php
index d5cbbec..d723b0e 100644
--- a/users/vacation.php
+++ b/users/vacation.php
@@ -107,7 +107,7 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
$tGoto = $row['goto'];
}
- $result = db_query ("INSERT INTO vacation (email,subject,body,domain,created,active) VALUES ('$USERID_USERNAME','$fSubject','$fBody','$USERID_DOMAIN',NOW(),'1')");
+ $result = db_query ("INSERT INTO vacation (email,subject,body,cache,domain,created,active) VALUES ('$USERID_USERNAME','$fSubject','$fBody','','$USERID_DOMAIN',NOW(),'1')");
if ($result['rows'] != 1)
{
$error = 1;