mirror of
https://github.com/Fluffy-Bean/image-gallery.git
synced 2025-05-14 07:32:16 +00:00
Every time I find bugs only after I push to the main branch
This commit is contained in:
parent
7b76201f88
commit
9212267777
2 changed files with 2 additions and 2 deletions
|
@ -312,7 +312,7 @@
|
||||||
|
|
||||||
$group_list = mysqli_query($conn, "SELECT * FROM groups ORDER BY id DESC");
|
$group_list = mysqli_query($conn, "SELECT * FROM groups ORDER BY id DESC");
|
||||||
|
|
||||||
if (empty($group_list) && !$_SESSION["loggedin"]) {
|
if (mysqli_num_rows($group_list) == 0 && !$_SESSION["loggedin"]) {
|
||||||
?>
|
?>
|
||||||
<style>
|
<style>
|
||||||
.gallery-root {
|
.gallery-root {
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
// Reading images from table
|
// Reading images from table
|
||||||
$image_request = mysqli_query($conn, "SELECT * FROM images ORDER BY id DESC");
|
$image_request = mysqli_query($conn, "SELECT * FROM images ORDER BY id DESC");
|
||||||
|
|
||||||
if (!empty($image_request)) {
|
if (mysqli_num_rows($image_request) != 0) {
|
||||||
?>
|
?>
|
||||||
<div class="info-text defaultFonts">
|
<div class="info-text defaultFonts">
|
||||||
<?php
|
<?php
|
||||||
|
|
Loading…
Add table
Reference in a new issue