From c06d9f84dd25cedb81f2547a870bd963710c3944 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Mon, 19 Feb 2024 23:21:20 +0700 Subject: [PATCH] Update posting_attachments.php --- library/attach_mod/posting_attachments.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/attach_mod/posting_attachments.php b/library/attach_mod/posting_attachments.php index 4d9739ec..2b2fefa6 100644 --- a/library/attach_mod/posting_attachments.php +++ b/library/attach_mod/posting_attachments.php @@ -987,7 +987,7 @@ class attach_parent $this->attach_filename = $this->filename; //bt - if (FILENAME_CRYPTIC && is_numeric(FILENAME_CRYPTIC_LENGT)) + if (FILENAME_CRYPTIC && is_numeric(FILENAME_CRYPTIC_LENGTH)) { $this->attach_filename = make_rand_str(FILENAME_CRYPTIC_LENGTH) . '_' . TIMENOW; }