Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2683714
D25351.1734689144.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.1734689144.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
Fri, Dec 20, 10:05 (17 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1017248
Default Alt Text
D25351.1734689144.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