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

rhys’s picture

Status: Active » Fixed

Thank you for pointing this out.
I've updated it in the CVS.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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