Merge pull request #9 from Fluffy-Bean/beta

Every time I find bugs only after I push to the main branch
This commit is contained in:
Michal 2022-09-29 16:19:47 +01:00 committed by GitHub
commit a8a3dff2e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -312,7 +312,7 @@
$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>
.gallery-root {

View file

@ -50,7 +50,7 @@
// Reading images from table
$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">
<?php