Fixed: Undefined index php notice when creating directory