aboutsummaryrefslogtreecommitdiffstats
path: root/include/deliver.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/deliver.php')
-rw-r--r--include/deliver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/deliver.php b/include/deliver.php
index 6edf3d60f..08c4f9b64 100644
--- a/include/deliver.php
+++ b/include/deliver.php
@@ -22,7 +22,7 @@ function deliver_run($argv, $argc) {
if($r) {
if($r[0]['outq_driver'] === 'post') {
$result = z_post_url($r[0]['outq_posturl'],$r[0]['outq_msg']);
- if($result['success'] && $result['status_code'] < 300) {
+ if($result['success'] && $result['return_code'] < 300) {
logger('deliver: queue post success to ' . $r[0]['outq_posturl'], LOGGER_DEBUG);
}
else {