Add Support::getCallStack

returns full call stack for call (excluding self)
This commit is contained in:
Clemens Schwaighofer
2023-10-23 16:59:14 +09:00
parent 6517747fef
commit 7b9a0043d3
4 changed files with 67 additions and 8 deletions

View File

@@ -470,7 +470,7 @@ function intervalStringFormatDeprecated(
// on first hit turn off (full off)
if ($value) {
$skip_last_zero = null;
} elseif (!$value && $skip_last_zero === false) {
} elseif ($skip_last_zero === false) {
$zero_last_list[] = $part;
}
// build format