diff --git a/src/applications/phortune/provider/PhortunePaymentProvider.php b/src/applications/phortune/provider/PhortunePaymentProvider.php --- a/src/applications/phortune/provider/PhortunePaymentProvider.php +++ b/src/applications/phortune/provider/PhortunePaymentProvider.php @@ -96,7 +96,7 @@ array $issues); protected function renderConfigurationSecret($value) { - if (strlen($value)) { + if (phutil_nonempty_string($value)) { return str_repeat('*', strlen($value)); } return '';