Closed (fixed)
Project:
Config to Code
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Nov 2009 at 18:32 UTC
Updated:
2 Dec 2009 at 18:40 UTC
Safe delete ignores the first file in each directory because it doesn't use strict compmarison with return value from array_search(), which returns 0 when it finds a match on the first item in a non-associative array.
When the c2c directory doesn't exist, PHP returns errors because $files is not initialised/declared as an array.
This patch fixes these issues and was committed in http://drupal.org/cvs?commit=290762 and released in 1.1.
Comments