We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4ca968 commit 5252820Copy full SHA for 5252820
1 file changed
update/2_7_2.php
@@ -8,6 +8,10 @@
8
9
$new_folder = 'files/'.$module->attachments_directory.'/';
10
11
+if (!file_exists($new_folder)) {
12
+ mkdir($new_folder, 0755, true);
13
+}
14
+
15
$attachments = database()->fetchArray('SELECT `filename` FROM `zz_files` WHERE `name` = "Fattura Elettronica" AND `id_module` = '.$module->id);
16
17
$attachments_filenames = array_column($attachments, 'filename');
0 commit comments