Merge branch 'master' of jsoares/tt-rss into master

This commit is contained in:
fox 2018-01-24 07:03:59 +00:00 committed by Gogs
commit fdde115557
1 changed files with 2 additions and 2 deletions

View File

@ -945,8 +945,8 @@ class RSSUtils {
$published = 0; $published = 0;
} }
$last_marked = ($marked == 'true') ? 'NOW()' : null; $last_marked = ($marked == 1) ? 'NOW()' : 'NULL';
$last_published = ($published == 'true') ? 'NOW()' : null; $last_published = ($published == 1) ? 'NOW()' : 'NULL';
$sth = $pdo->prepare( $sth = $pdo->prepare(
"INSERT INTO ttrss_user_entries "INSERT INTO ttrss_user_entries