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.

CommentFileSizeAuthor
c2c.patch1.35 KBBevan

Comments

Status: Fixed » Closed (fixed)

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