Page MenuHomePhabricator

D13754.id33221.diff
No OneTemporary

D13754.id33221.diff

diff --git a/src/applications/conpherence/controller/ConpherenceNewRoomController.php b/src/applications/conpherence/controller/ConpherenceNewRoomController.php
--- a/src/applications/conpherence/controller/ConpherenceNewRoomController.php
+++ b/src/applications/conpherence/controller/ConpherenceNewRoomController.php
@@ -7,6 +7,7 @@
$title = pht('New Room');
$e_title = true;
+ $v_message = null;
$validation_exception = null;
$conpherence = ConpherenceThread::initializeNewRoom($user);
@@ -35,12 +36,12 @@
->setTransactionType(PhabricatorTransactions::TYPE_JOIN_POLICY)
->setNewValue($request->getStr('joinPolicy'));
- $message = $request->getStr('message');
- if ($message) {
+ $v_message = $request->getStr('message');
+ if ($v_message) {
$message_xactions = $editor->generateTransactionsFromText(
$user,
$conpherence,
- $message);
+ $v_message);
$xactions = array_merge($xactions, $message_xactions);
}
@@ -121,7 +122,8 @@
id(new PhabricatorRemarkupControl())
->setUser($user)
->setName('message')
- ->setLabel(pht('First Message')));
+ ->setLabel(pht('First Message'))
+ ->setValue($v_message));
$dialog->appendChild($form);

File Metadata

Mime Type
text/plain
Expires
Oct 16 2024, 9:03 PM (4 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6719168
Default Alt Text
D13754.id33221.diff (1 KB)

Event Timeline