fix typo in variable name

This commit is contained in:
Uwe Steinmann 2020-01-22 14:26:43 +01:00
parent 069b0b2459
commit 4e19b003e5

View File

@ -796,7 +796,7 @@ function insert_folder($folder) { /* {{{ */
if(in_array('folders', $sections)) {
if(!array_key_exists($folder['attributes']['owner'], $objmap['users'])) {
$logger->warning("Owner of folder cannot be mapped using default user");
$owner = $defaultuser;
$owner = $defaultUser;
} else {
$owner = $dms->getUser($objmap['users'][(int) $folder['attributes']['owner']]);
}