From c0d2d2dddd1bd7d9d6fa9b2dbfeb4ff88e35f956 Mon Sep 17 00:00:00 2001 From: "Andreas Burchert (scarya)" Date: Tue, 17 Jan 2012 18:42:02 +0100 Subject: [PATCH] Small fix in makeChownWithNewStats(). Signed-off-by: Andreas Burchert (scarya) --- lib/functions/filedir/function.makeChownWithNewStats.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'];