Skip to content

Commit 31add35

Browse files
committed
fix $thing parameter in deprecation helper
See dokuwiki@615810c#r161070574
1 parent 9791ae4 commit 31add35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/Debug/DebugHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public static function dbgDeprecatedFunction($alternative = '', $callerOffset =
5353
self::triggerDeprecationEvent(
5454
$backtrace,
5555
$alternative,
56-
self::formatCall($self),
56+
$thing ?: self::formatCall($self),
5757
self::formatCall($call),
5858
$self['file'] ?? $call['file'] ?? '',
5959
$self['line'] ?? $call['line'] ?? 0

0 commit comments

Comments
 (0)