Browse Source

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

fox 1 year ago
parent
commit
fdde115557
1 changed files with 2 additions and 2 deletions
  1. 2 2
      classes/rssutils.php

+ 2 - 2
classes/rssutils.php

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