Ticket #362 (closed defect: fixed)

Opened 6 months ago

Last modified 5 months ago

missing variable declaration in lib/uploadlib.php

Reported by: edfactor Assigned to: nobody
Priority: normal Milestone: 0.9.2
Component: core Version: 0.9.1
Severity: normal Keywords:
Cc: Patch Included: 1
Review Stage: readyforcheckin

Description

In the uploadlib.php file (in lib directory) on line 258, there is a function:

function delete_other_files

In there, the $deletedsomething only gets defined on the first if, and if you don't go through that, the variable is undefined in the second one. I added a declaration in the beginning.

Attachments

uploadlibphp.diff (0.6 kB) - added by edfactor on 06/05/08 15:19:52.
Patch includes simple variable declaration

Change History

06/05/08 15:19:52 changed by edfactor

  • attachment uploadlibphp.diff added.

Patch includes simple variable declaration

06/09/08 07:34:25 changed by misja

  • status changed from new to closed.
  • resolution set to fixed.
  • review_stage changed from unreviewed to readyforcheckin.

Patch applied in r1598