patterns_paths checks wrong path for file directory

Roger López - September 28, 2009 - 16:02
Project:Patterns
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

in patterns_paths() the file path for patterns_save_xml is checked with file_check_directory($path) but $path is used in the module_invoke_all() loop.

This patch simply moves the existing line that sets $path to below the module_invoke_all loop.

AttachmentSize
patterns.patch901 bytes

#1

vaish - September 29, 2009 - 14:44
Status:needs review» fixed

Good catch. Patch committed.

Thanks,
Vaish

#2

System Message - October 13, 2009 - 14:50
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.