HCoop
/
clinton
/
MarylandElectronicPetitionSignature.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
297ce7c
)
Update groups.php
author
Patrick McGuire
<insidenothing@gmail.com>
Thu, 21 May 2020 20:21:41 +0000
(16:21 -0400)
committer
GitHub
<noreply@github.com>
Thu, 21 May 2020 20:21:41 +0000
(16:21 -0400)
admin/groups.php
patch
|
blob
|
blame
|
history
diff --git
a/admin/groups.php
b/admin/groups.php
index
7622132
..
d2a58a0
100644
(file)
--- a/
admin/groups.php
+++ b/
admin/groups.php
@@
-10,7
+10,7
@@
if ($_COOKIE['level'] == 'manager'){
header('Location: manager_home.php');
}
include_once('header.php');
-if(isset($_POST['name'])
&& isset($_POST['email']) && isset($_POST['group_id'])
){
+if(isset($_POST['name'])){
$name = $petition->real_escape_string($_POST['name']);
$petition->query("insert into groups (name) values ('$name') ");
}