Skip to content
Permalink
Browse files

fix add status

  • Loading branch information...
Anisan committed Nov 29, 2018
1 parent 13cb6c7 commit 2df50aef79881dcefc16401a749e487aaa456048
Showing with 2 additions and 0 deletions.
  1. +2 −0 modules/app_PostTracker/app_PostTracker.class.php
@@ -198,6 +198,7 @@ function usual(&$out) {
$status['STATUS_INFO'] = "Add track code to module";
$status['TRACK_ID'] = $rec['ID'];
$status['PROVIDER'] = -1;
$status['PROVIDER_ID'] = 0;
SQLInsert("pt_status", $status);
$this->addTrackToProvider($rec);
$this->exec_script_newstatus($rec,"");
@@ -338,6 +339,7 @@ function archive($rec,$acrhive) {
$status['DATE_STATUS'] = date ("Y-m-d H:i:s");;
$status['TRACK_ID'] = $rec['ID'];
$status['PROVIDER'] = -1;
$status['PROVIDER_ID'] = 0;
$rec['ARCHIVE']=$acrhive;
$provider = $this->getProvider();
if (!$rec['ARCHIVE'])

0 comments on commit 2df50ae

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