Skip to content
Permalink
Browse files

fix API add

  • Loading branch information...
Anisan committed Nov 29, 2019
1 parent 3039ab2 commit 9550da84d37cd2c5d188a870e9b8abf8c2425e89
Showing with 2 additions and 2 deletions.
  1. +2 −2 modules/app_PostTracker/app_PostTracker.class.php
@@ -161,9 +161,9 @@ function api($params) {
$rec['TRACK_URL']=$params['track_url'];
$rec['WAIT_DAY']= 50;
$rec['DESCRIPTION'] = '';
if (array_key_exists($params,'waitday'))
if (array_key_exists('waitday',$params))
$rec['WAIT_DAY']=$params['waitday'];
if (array_key_exists($params,'description'))
if (array_key_exists('description',$params))
$rec['DESCRIPTION']=$params['description'];
$rec['CREATED'] = date ("Y-m-d H:i:s");

0 comments on commit 9550da8

Please sign in to comment.
You can’t perform that action at this time.