Page MenuHomePhorge

D25222.1734778183.diff
No OneTemporary

D25222.1734778183.diff

diff --git a/src/applications/maniphest/xaction/ManiphestTaskPointsTransaction.php b/src/applications/maniphest/xaction/ManiphestTaskPointsTransaction.php
--- a/src/applications/maniphest/xaction/ManiphestTaskPointsTransaction.php
+++ b/src/applications/maniphest/xaction/ManiphestTaskPointsTransaction.php
@@ -98,7 +98,7 @@
}
private function getValueForPoints($value) {
- if (!strlen($value)) {
+ if (!phutil_nonempty_string($value)) {
$value = null;
}
if ($value !== null) {

File Metadata

Mime Type
text/plain
Expires
Sat, Dec 21, 10:49 (17 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1024549
Default Alt Text
D25222.1734778183.diff (510 B)

Event Timeline