Skip to content

Commit

Permalink
Fixed ttl for mini html issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Hai Zheng committed Nov 15, 2024
1 parent 24d6315 commit 056f2ef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/cloud.cls.php
Original file line number Diff line number Diff line change
Expand Up @@ -1522,6 +1522,9 @@ public function extract_msg($json, $service, $server = false, $is_callback = fal

case 'mini_html':
foreach ($json['_carry_on'][$v] as $k2 => $v2) {
if (strpos($k2, 'ttl.') === 0) {
$v2 += time();
}
$this->_summary[$v][$k2] = $v2;
}
break;
Expand Down

0 comments on commit 056f2ef

Please sign in to comment.