We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9628d7 commit ee09cf3Copy full SHA for ee09cf3
webroot/panel/groups.php
@@ -10,7 +10,7 @@
10
11
if (isset($_POST["form_name"])) {
12
if (isset($_POST["pi"])) {
13
- $pi_account = new UnityGroup($_POST["pi"], $LDAP, $SQL, $MAILER, $REDIS, $WEBHOOK);
+ $pi_account = new UnityGroup(trim($_POST["pi"]), $LDAP, $SQL, $MAILER, $REDIS, $WEBHOOK);
14
if (!$pi_account->exists()) {
15
// "\'" instead of "'", otherwise it will close a single quote used to place the message
16
array_push($modalErrors, "This PI doesn\'t exist");
0 commit comments