]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/commitdiff
Couple more imperfection fixes
authorValerie Pond <redacted>
Tue, 28 Feb 2023 00:25:30 +0000 (00:25 +0000)
committerValerie Pond <redacted>
Tue, 28 Feb 2023 00:25:30 +0000 (00:25 +0000)
- Fix excepts being added where an invite should be
- Change button text in invites to be "Add Invite"

channels/details.php

index 1335a066a1cb6f675617fccf8f47b57b9fe2e68a..7dc2404dd52be941e784e212b9bc18ae7144ccbe 100644 (file)
@@ -321,9 +321,9 @@ if (isset($_POST))
                        </div>
                </div>
                <div class="modal-footer">
-                       <input type="hidden" name="add_chinv" value="e"></input>
+                       <input type="hidden" name="add_chinv" value="I"></input>
                        <button id="CloseButton" type="button" class="btn btn-secondary" data-dismiss="modal">Cancel</button>
-                       <button type="submit" action="post" class="btn btn-danger">Add Channel Ban</button>
+                       <button type="submit" action="post" class="btn btn-danger">Add Invite</button>
                        </form>
                </div>
                </div>