aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2003-09-08 18:59:11 +0000
committerz0rglub <z0rglub@piwigo.org>2003-09-08 18:59:11 +0000
commitba5b2c41bda2aff03ab2ca6c57d2dd16cd7da6f4 (patch)
tree65264ef390a79312310ab98e7527c5460134d312
parent0e75a1c6d31694aba488761681dcbd4269169ecd (diff)
Use get_complete_dir to retrieve category directory
git-svn-id: http://piwigo.org/svn/trunk@82 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-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'];