Closed (fixed)
Project:
Media API
Version:
5.x-5.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Jan 2008 at 22:11 UTC
Updated:
31 Jan 2008 at 08:33 UTC
In folder.inc, on line 156, there is mispelled php function "dirnam". That should be fixed to "dirname".
Original code:
media_error(t('Unable to rename directory (%source) to (%dest)', array('%source' => $source->path, '%dest' => dirnam($source->path) . $name)), 'file system');
Change to:
media_error(t('Unable to rename directory (%source) to (%dest)', array('%source' => $source->path, '%dest' => dirname($source->path) . $name)), 'file system');
Thanks,
Christopher
Comments
Comment #1
rhys commentedThank you for pointing this out.
I've updated it in the CVS.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.