Additional check if size of topic is changed.

This commit is contained in:
Alexandr
2018-02-07 14:22:42 +01:00
parent b570abb654
commit 7d49d21710
2 changed files with 23 additions and 21 deletions

View File

@ -117,8 +117,8 @@ function notify($url){
$stmt = $dbh->query(
'INSERT into url (link,u_date)
VALUES ("'.$url.'","'.gmdate("Y-m-d H:i:s", $obj->reg_time).'")'
'INSERT into url (link,u_date, size)
VALUES ("'.$url.'","'.gmdate("Y-m-d H:i:s", $obj->reg_time).'", "'.$obj->size.'")'
);
$stmt = $dbh->query(
'INSERT into notification (user_id, topic_id)