aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-09-29 22:51:06 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-09-29 22:51:06 -0700
commit5721f9f3a906afac989b88a6c5ed16ce3674c063 (patch)
treec6074cd59aa1fbcb34e2d12fddbe5622ba06e4a3
parentcca9f2392e2fe44476ea7373ef11533da9205a23 (diff)
downloadvolse-hubzilla-5721f9f3a906afac989b88a6c5ed16ce3674c063.tar.gz
volse-hubzilla-5721f9f3a906afac989b88a6c5ed16ce3674c063.tar.bz2
volse-hubzilla-5721f9f3a906afac989b88a6c5ed16ce3674c063.zip
wrong table column names
-rw-r--r--include/deliver.php2
-rw-r--r--include/queue.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/deliver.php b/include/deliver.php
index 518f1bc44..a338d1a89 100644
--- a/include/deliver.php
+++ b/include/deliver.php
@@ -84,7 +84,7 @@ function deliver_run($argv, $argc) {
dbesc($base)
);
}
- q("update dreport set status = '%s', dreport_time = '%s' where dreport_queue = '%s' limit 1",
+ q("update dreport set dreport_result = '%s', dreport_time = '%s' where dreport_queue = '%s' limit 1",
dbesc('accepted for delivery'),
dbesc(datetime_convert()),
dbesc($argv[$x])
diff --git a/include/queue.php b/include/queue.php
index 061f1507d..71ac50c83 100644
--- a/include/queue.php
+++ b/include/queue.php
@@ -109,7 +109,7 @@ function queue_run($argv, $argc){
dbesc($base)
);
}
- q("update dreport set status = '%s', dreport_time = '%s' where dreport_queue = '%s' limit 1",
+ q("update dreport set dreport_result = '%s', dreport_time = '%s' where dreport_queue = '%s' limit 1",
dbesc('accepted for delivery'),
dbesc(datetime_convert()),
dbesc($rr['outq_hash'])