diff --git a/lib/functions/filedir/function.makeChownWithNewStats.php b/lib/functions/filedir/function.makeChownWithNewStats.php index 244c47f7..b0b1b5dc 100644 --- a/lib/functions/filedir/function.makeChownWithNewStats.php +++ b/lib/functions/filedir/function.makeChownWithNewStats.php @@ -29,7 +29,7 @@ function makeChownWithNewStats($row) global $settings; // get correct user - if($settings['system']['mod_fcgid'] == '1' && $row['deactivated'] == '0') + if($settings['system']['mod_fcgid'] == '1' && isset($row['deactivated']) && $row['deactivated'] == '0') { $user = $row['loginname']; $group = $row['loginname'];