Double directory exists check (and some cleanups)

thePanz - March 15, 2009 - 14:58
Project:Taxonomy Image
Version:6.x-1.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:closed
Description

My patch fixes:
- double file_directory_exists() call and checks (fixes "Upload Image Failed" bug)
- double uploaded file checks ( in: "if (!$file)" and 2 lines after: " if (is_object($file))"
- Fixed some outputted messages

AttachmentSize
taxonomy_image-dir_double_check_and_more_cleanups.patch3.3 KB

#1

NancyDru - March 17, 2009 - 14:11

BTW, when you submit a patch, it is okay to assign the issue to yourself.

#2

NancyDru - March 17, 2009 - 14:38
Status:needs review» fixed

Committed. Thanks for the patch.

#3

System Message - March 31, 2009 - 14:40
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.