diff options
author | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-07-01 08:03:08 +0400 |
---|---|---|
committer | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-07-01 08:03:08 +0400 |
commit | 282f57372b990dcc822eb0584ae265660145dfb8 (patch) | |
tree | c1d604caefb2d2d5a053fa3207e17f952d7b3b9b /core/Tracker/Config.php | |
parent | 6201119f7ce924a79df2c6d9a034a3f4bbfb6ec7 (diff) |
Fixes #843 - PHP 5.3 throwing some notices; patch from halfdan; thanks
Diffstat (limited to 'core/Tracker/Config.php')
-rw-r--r-- | core/Tracker/Config.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Tracker/Config.php b/core/Tracker/Config.php index 5b2a8cd55a..d5b0e4724c 100644 --- a/core/Tracker/Config.php +++ b/core/Tracker/Config.php @@ -102,7 +102,7 @@ class Piwik_Tracker_Config { $section = array_merge($section, $this->configUser[$name]); } - return $section; + return count($section) ? $section : null; } } |