Page MenuHomePhabricator

D20176.diff
No OneTemporary

D20176.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
Sat, Sep 21, 12:03 AM (21 h, 20 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6624435
Default Alt Text
D20176.diff (749 B)

Event Timeline