aboutsummaryrefslogtreecommitdiffstats
path: root/upload.php
diff options
context:
space:
mode:
Diffstat (limited to 'upload.php')
-rw-r--r--upload.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/upload.php b/upload.php
index 44f1d357f..5e683f4d4 100644
--- a/upload.php
+++ b/upload.php
@@ -105,7 +105,7 @@ if ( isset( $page['cat'] ) and is_numeric( $page['cat'] ) )
{
check_restrictions( $page['cat'] );
$result = get_cat_info( $page['cat'] );
- $page['cat_dir'] = $result['dir'];
+ $page['cat_dir'] = get_complete_dir( $page['cat'] );
$page['cat_site_id'] = $result['site_id'];
$page['cat_name'] = $result['name'];
$page['cat_uploadable'] = $result['uploadable'];