Page MenuHomePhabricator

D11679.id28228.diff
No OneTemporary

D11679.id28228.diff

diff --git a/src/xsprintf/xsprintf.php b/src/xsprintf/xsprintf.php
--- a/src/xsprintf/xsprintf.php
+++ b/src/xsprintf/xsprintf.php
@@ -66,7 +66,9 @@
'xsprintf()'));
}
- $callback($userdata, $pattern, $pos, $argv[$arg], $len);
+ if ($callback !== null) {
+ $callback($userdata, $pattern, $pos, $argv[$arg], $len);
+ }
}
}

File Metadata

Mime Type
text/plain
Expires
Wed, Mar 26, 12:58 AM (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7573210
Default Alt Text
D11679.id28228.diff (392 B)

Event Timeline