fix for bug #262: Can't create directory

This commit is contained in:
Ralf Becker 2007-04-19 12:52:38 +00:00
parent 6470e91163
commit adddbaa157

View File

@ -1430,7 +1430,7 @@
}
/* TODO is this right or should it be a single $ ? */
if($$this->newfile_or_dir[strlen($this->newfile_or_dir)-1] == ' ' || $this->newfile_or_dir[0] == ' ')
if($this->newfile_or_dir[strlen($this->newfile_or_dir)-1] == ' ' || $this->newfile_or_dir[0] == ' ')
{
$this->messages[]= $GLOBALS['egw']->common->error_list(array(lang('Cannot create directory because it begins or ends in a space')));
}