|
|
@@ -290,7 +290,7 @@ SQL;
|
|
|
. 'SET title=:title, author=:author, '
|
|
|
. (static::isCompressed() ? 'content_bin=COMPRESS(:content)' : 'content=:content')
|
|
|
. ', link=:link, date=:date, `lastSeen`=:last_seen'
|
|
|
- . ', `lastUserModified`=MAX(:last_user_modified, `lastUserModified`)'
|
|
|
+ . ', `lastUserModified`=GREATEST(:last_user_modified, `lastUserModified`)'
|
|
|
. ', hash=' . static::sqlHexDecode(':hash')
|
|
|
. ', is_read=COALESCE(:is_read, is_read)'
|
|
|
. ', is_favorite=COALESCE(:is_favorite, is_favorite)'
|