Skip to content

Commit

Permalink
fix: build fail
Browse files Browse the repository at this point in the history
  • Loading branch information
T1Il committed Aug 25, 2023
1 parent 5e38cf6 commit 1de27c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ RUN apt-get update && apt-get install -y \
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
&& docker-php-ext-install -j$(nproc) gd

COPY opcache.ini /usr/local/etc/php/conf.d/opcache.ini
COPY docker/000-default.conf /etc/apache2/sites-available/000-default.conf
RUN a2enmod rewrite

Expand Down
3 changes: 2 additions & 1 deletion user.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
}

header('Location: user.php?user_id=' . $_GET['block_user']);
return;

}

Expand All @@ -39,7 +40,7 @@
header('Location: index.php');
}

$idUser = new User(($_GET['user_id']));
$idUser = new User($_GET['user_id']);

$accent_color = getAverage($idUser->getAvatarURL());

Expand Down

0 comments on commit 1de27c6

Please sign in to comment.