diff options
author | Christopher Smith <chris@jalakai.co.uk> | 2013-10-16 22:04:01 +0100 |
---|---|---|
committer | Christopher Smith <chris@jalakai.co.uk> | 2013-10-16 22:04:01 +0100 |
commit | 443e135d59e9d227eec818dabf9ee64d7a73d474 (patch) | |
tree | 14c649d0a1fade810971d7e6da53471b41484fdf /inc/indexer.php | |
parent | 4d8acaacee33f49d51c06f6dae1dbe245018a020 (diff) | |
download | rpg-443e135d59e9d227eec818dabf9ee64d7a73d474.tar.gz rpg-443e135d59e9d227eec818dabf9ee64d7a73d474.tar.bz2 |
replace boolean conditional checks on possibly uninitialized vars with \!empty/empty/isset as appropriate
Diffstat (limited to 'inc/indexer.php')
-rw-r--r-- | inc/indexer.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/indexer.php b/inc/indexer.php index 8f0ba7ec6..00b66239d 100644 --- a/inc/indexer.php +++ b/inc/indexer.php @@ -1017,8 +1017,9 @@ class Doku_Indexer { return false; } } - if ($conf['dperm']) + if (!empty($conf['dperm'])) { chmod($lock, $conf['dperm']); + } return $status; } |