mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-03-31 17:15:38 +00:00
fix initial magnet.timeUpdated
This commit is contained in:
parent
670d930573
commit
61bf4b9c86
3 changed files with 4 additions and 4 deletions
Binary file not shown.
|
|
@ -542,8 +542,8 @@ class Database {
|
|||
|
||||
$query = $this->_db->prepare('INSERT INTO `magnet` SET `userId` = ?,
|
||||
`xt` = ?,
|
||||
`xl` = ?,
|
||||
`dn` = ?,
|
||||
`xl` = ?,
|
||||
`dn` = ?,
|
||||
`linkSource` = ?,
|
||||
`public` = ?,
|
||||
`comments` = ?,
|
||||
|
|
|
|||
|
|
@ -108,8 +108,8 @@ else
|
|||
'public' => (bool) $magnet->public,
|
||||
'sensitive' => (bool) $magnet->sensitive,
|
||||
'comments' => (bool) $magnet->comments,
|
||||
'timeAdded' => Time::ago($magnet->timeAdded),
|
||||
'timeUpdated' => Time::ago($magnet->timeUpdated),
|
||||
'timeAdded' => $magnet->timeAdded ? Time::ago((int) $magnet->timeAdded) : false,
|
||||
'timeUpdated' => $magnet->timeUpdated ? Time::ago((int) $magnet->timeUpdated) : false,
|
||||
'keywords' => $keywords,
|
||||
'comment' => (object)
|
||||
[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue