Fix filesize column name in image exporter (vB 5)
authorTim Düsterhus <duesterhus@woltlab.com>
Thu, 3 Dec 2020 11:43:57 +0000 (12:43 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Thu, 3 Dec 2020 11:44:18 +0000 (12:44 +0100)
files/lib/system/exporter/VB5xExporter.class.php

index 99d41d4dd18a4563a882b31e30206e62e98369a4..2fb18cf3ec7f4f35f512f68be3c1c40cb4e9b171 100644 (file)
@@ -1294,7 +1294,7 @@ class VB5xExporter extends AbstractExporter {
                                        'albumID' => $row['parentid'],
                                        'title' => $row['title'],
                                        'description' => ($row['title'] != $row['caption'] ? $row['caption'] : ''),
-                                       'fileSize' => filesize($file),
+                                       'filesize' => filesize($file),
                                        'uploadTime' => $row['created'],
                                ], ['fileLocation' => $file]);
                        }