mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-13 20:28:44 +01:00
Merge branch '3.2.x' into 3.3.x
This commit is contained in:
commit
f703f3f20e
@ -1308,7 +1308,7 @@ class acp_attachments
|
||||
*/
|
||||
public function get_attachment_stats($limit = '')
|
||||
{
|
||||
$sql = 'SELECT COUNT(a.attach_id) AS num_files, SUM(a.filesize) AS upload_dir_size
|
||||
$sql = 'SELECT COUNT(a.attach_id) AS num_files, SUM(' . $this->db->cast_expr_to_bigint('a.filesize') . ') AS upload_dir_size
|
||||
FROM ' . ATTACHMENTS_TABLE . " a
|
||||
WHERE a.is_orphan = 0
|
||||
$limit";
|
||||
|
Loading…
x
Reference in New Issue
Block a user