Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13962821
D20176.id48181.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
749 B
Referenced Files
None
Subscribers
None
D20176.id48181.diff
View Options
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
@@ -47,10 +47,13 @@
}
public function getGenerateURI() {
- return id(new PhutilURI('/macro/meme/'))
- ->alter('macro', $this->getTemplate())
- ->alter('above', $this->getAboveText())
- ->alter('below', $this->getBelowText());
+ $params = array(
+ 'macro' => $this->getTemplate(),
+ 'above' => $this->getAboveText(),
+ 'below' => $this->getBelowText(),
+ );
+
+ return new PhutilURI('/macro/meme/', $params);
}
public function newAsset() {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Oct 16, 12:31 PM (3 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6717446
Default Alt Text
D20176.id48181.diff (749 B)
Attached To
Mode
D20176: Fix a URI construction in remarkup macro/meme rules
Attached
Detach File
Event Timeline
Log In to Comment