Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#13778 closed defect (bug) (fixed)

directory never closed in search_theme_directories()

Reported by: ScottMac Owned by:
Priority: normal Milestone: 3.0
Component: Themes Version: 3.0
Severity: normal Keywords: has-patch
Cc:

Description

closedir() isn't called for the opendir resource due to a wrong variable name being used.

The is_dir call wasn't doing anything since the return value of opendir() was already checked.

Attachments (1)

theme.php.diff (338 bytes) - added by ScottMac 3 years ago.

Download all attachments as: .zip

Change History (5)

  • Component changed from General to Themes
  • Keywords has-patch added

comment:2   dd323 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [15166]) Use the correct variable name. Props ScottMac. Fixes #13778

comment:3   dd323 years ago

(In [15167]) Use the correct variable name. See #13778

comment:4   dd323 years ago

  • Milestone changed from Unassigned to 3.0
  • Version set to 3.0
Note: See TracTickets for help on using tickets.