Commit 26ad257d authored by jsoares's avatar jsoares

Fixed time stamping of new unmarked/unpublished articles

parent 36eed4d7
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment