projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Left to allocate is showing wrong. Fixed by a rerun by @notrinos.
[fa-stable.git]
/
admin
/
attachments.php
diff --git
a/admin/attachments.php
b/admin/attachments.php
index f600e3017fd5c39bde3556814785a8b226e39a92..421c040662f5fa309a25f51a4009149c72c58ab1 100644
(file)
--- a/
admin/attachments.php
+++ b/
admin/attachments.php
@@
-119,7
+119,7
@@
if ($Mode == 'ADD_ITEM' || $Mode == 'UPDATE_ITEM')
unlink($dir."/".$unique_name);
}
else
- $unique_name =
uniqid(''
);
+ $unique_name =
random_id(
);
//save the file
move_uploaded_file($tmpname, $dir."/".$unique_name);