Skip to content

Commit

Permalink
Update upload.php
Browse files Browse the repository at this point in the history
  • Loading branch information
condor2 authored Dec 22, 2023
1 parent 89b3130 commit d368a6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions upload/admin/model/tool/upload.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function getUploads($data = array()) {
return $query->rows;
}

public function getTotalUploads() {
public function getTotalUploads($data = array()) {
$sql = "SELECT COUNT(*) AS total FROM " . DB_PREFIX . "upload";

$implode = array();
Expand All @@ -105,4 +105,4 @@ public function getTotalUploads() {

return (int)$query->row['total'];
}
}
}

0 comments on commit d368a6c

Please sign in to comment.