Page MenuHomePhabricator

D20176.id48181.diff
No OneTemporary

D20176.id48181.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
@@ -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

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)

Event Timeline