mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-10-31 14:10:08 +00:00
Update RoomEditForm according to RoomAddForm
This commit is contained in:
parent
8c68694c00
commit
418443bb45
@ -89,7 +89,8 @@ public function save() {
|
|||||||
// update room
|
// update room
|
||||||
$this->objectAction = new \chat\data\room\RoomAction(array($this->roomID), 'update', array('data' => array_merge($this->additionalFields, array(
|
$this->objectAction = new \chat\data\room\RoomAction(array($this->roomID), 'update', array('data' => array_merge($this->additionalFields, array(
|
||||||
'title' => $this->title,
|
'title' => $this->title,
|
||||||
'topic' => $this->topic
|
'topic' => $this->topic,
|
||||||
|
'maxUsers' => $this->maxUsers
|
||||||
))));
|
))));
|
||||||
$this->objectAction->executeAction();
|
$this->objectAction->executeAction();
|
||||||
|
|
||||||
@ -113,6 +114,7 @@ public function readData() {
|
|||||||
|
|
||||||
$this->title = $this->roomObj->title;
|
$this->title = $this->roomObj->title;
|
||||||
$this->topic = $this->roomObj->topic;
|
$this->topic = $this->roomObj->topic;
|
||||||
|
$this->maxUsers = $this->roomObj->maxUsers;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user