Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15354102
D10415.id25058.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
719 B
Referenced Files
None
Subscribers
None
D10415.id25058.diff
View Options
diff --git a/src/applications/notification/controller/PhabricatorNotificationClearController.php b/src/applications/notification/controller/PhabricatorNotificationClearController.php
--- a/src/applications/notification/controller/PhabricatorNotificationClearController.php
+++ b/src/applications/notification/controller/PhabricatorNotificationClearController.php
@@ -14,7 +14,7 @@
queryfx(
$table->establishConnection('w'),
'UPDATE %T SET hasViewed = 1 '.
- 'WHERE userPHID = %s AND hasViewed = 0 and chronologicalKey <= %d',
+ 'WHERE userPHID = %s AND hasViewed = 0 and chronologicalKey <= %s',
$table->getTableName(),
$user->getPHID(),
$chrono_key);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 12, 1:56 AM (4 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7567729
Default Alt Text
D10415.id25058.diff (719 B)
Attached To
Mode
D10415: Use %s, not %d, to encode a 64-bit integer for a query
Attached
Detach File
Event Timeline
Log In to Comment