aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/functions.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php
index 6acfa0637..5a22c475d 100644
--- a/include/functions.inc.php
+++ b/include/functions.inc.php
@@ -270,7 +270,7 @@ function mkgetdir($dir, $flags=MKGETDIR_DEFAULT)
function mkget_thumbnail_dir($dirname, &$errors)
{
$tndir = $dirname.'/thumbnail';
- if (! mkgetdir($tn_dir, MKGETDIR_NONE) )
+ if (! mkgetdir($tndir, MKGETDIR_NONE) )
{
array_push($errors,
'['.$dirname.'] : '.l10n('no_write_access'));