Closed (fixed)
Project:
Media Browser Plus
Version:
7.x-2.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 May 2012 at 16:52 UTC
Updated:
12 Oct 2012 at 09:51 UTC
Jump to comment: Most recent file
Comments
Comment #1
elyobo commentedSimply calling file_move() with the destination directory, rather than directory + a file name, avoids the problem.
Comment #2
jhnbrnn commentedHere's a one-line fix as per #1's recommendation.
Comment #3
camdarley commentedIf you remove this line, $destination is not declared anymore...
If think it should be better like this:
Isn't it?
Comment #4
jhnbrnn commentedAh, you're totally right. Re-rolled with changes.
Comment #5
das-peter commentedSounds sane :)
Comitted: http://drupalcode.org/project/media_browser_plus.git/commit/938e74a