Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2943940
D25351.1738232259.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
529 B
Referenced Files
None
Subscribers
None
D25351.1738232259.diff
View Options
diff --git a/src/applications/people/view/PhabricatorUserLogView.php b/src/applications/people/view/PhabricatorUserLogView.php
--- a/src/applications/people/view/PhabricatorUserLogView.php
+++ b/src/applications/people/view/PhabricatorUserLogView.php
@@ -36,7 +36,7 @@
$rows = array();
foreach ($logs as $log) {
- $session = substr($log->getSession(), 0, 6);
+ $session = substr(coalesce($log->getSession(), ''), 0, 6);
$actor_phid = $log->getActorPHID();
$user_phid = $log->getUserPHID();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 30, 10:17 (2 d, 7 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1149840
Default Alt Text
D25351.1738232259.diff (529 B)
Attached To
Mode
D25351: Fix PHP 8.1 substr(null) in People > Activity Logs
Attached
Detach File
Event Timeline
Log In to Comment