mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
small fix for uninitialised var
This commit is contained in:
parent
89028eed59
commit
7bd4342642
1 changed files with 1 additions and 0 deletions
|
@ -392,6 +392,7 @@ class upload_manager {
|
|||
* @param $return - optional, defaults to false (log is echoed)
|
||||
*/
|
||||
function print_upload_log($return=false,$skipemptyifmultiple=false) {
|
||||
$str = '';
|
||||
foreach (array_keys($this->files) as $i => $key) {
|
||||
if (count($this->files) > 1 && !empty($skipemptyifmultiple) && $this->files[$key]['error'] == 4) {
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue