Page MenuHomePhorge

D25212.1737036990.diff
No OneTemporary

D25212.1737036990.diff

diff --git a/src/applications/macro/engine/PhabricatorMemeEngine.php b/src/applications/macro/engine/PhabricatorMemeEngine.php
--- a/src/applications/macro/engine/PhabricatorMemeEngine.php
+++ b/src/applications/macro/engine/PhabricatorMemeEngine.php
@@ -182,7 +182,8 @@
// changes to the image.
$above_text = $this->getAboveText();
$below_text = $this->getBelowText();
- if (!strlen(trim($above_text)) && !strlen(trim($below_text))) {
+ if ((!$above_text || !phutil_nonempty_string(trim($above_text))) &&
+ (!$below_text || !phutil_nonempty_string(trim($below_text)))) {
return $template_data;
}

File Metadata

Mime Type
text/plain
Expires
Thu, Jan 16, 14:16 (1 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1118516
Default Alt Text
D25212.1737036990.diff (640 B)

Event Timeline