mirror of
https://github.com/Fluffy-Bean/image-gallery.git
synced 2025-06-15 06:33:12 +00:00
Fixed group creation, updated sanity output
This commit is contained in:
parent
c3814000c0
commit
436a49e3ed
9 changed files with 141 additions and 106 deletions
|
@ -124,7 +124,7 @@ if (isset($_POST['title_submit'])) {
|
|||
|-------------------------------------------------------------
|
||||
*/
|
||||
if (isset($_POST['new_group_submit'])) {
|
||||
if ($user_info->is_loggedin()) {
|
||||
if ($user_info->is_loggedin($conn)) {
|
||||
$group_name = "New Group";
|
||||
$sql = "INSERT INTO groups (group_name, author, image_list) VALUES('$group_name', '".$_SESSION['id']."', '')";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue