mirror of
https://github.com/itflow-org/itflow
synced 2026-03-06 22:04:51 +00:00
fix file delete exisiting avatar if changed
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<form action="post.php" method="post" enctype="multipart/form-data" autocomplete="off">
|
<form action="post.php" method="post" enctype="multipart/form-data" autocomplete="off">
|
||||||
<input type="hidden" name="user_id" value="<?php echo $user_id; ?>">
|
<input type="hidden" name="user_id" value="<?php echo $user_id; ?>">
|
||||||
<input type="hidden" name="existing_file_name" value="<?php echo "uploads/users/$user_id/$user_avatar"; ?>">
|
<input type="hidden" name="existing_file_name" value="<?php echo "$user_avatar"; ?>">
|
||||||
<div class="modal-body bg-white">
|
<div class="modal-body bg-white">
|
||||||
|
|
||||||
<center class="mb-3">
|
<center class="mb-3">
|
||||||
|
|||||||
Reference in New Issue
Block a user