diff options
author | Marc Alexander <admin@m-a-styles.de> | 2013-10-28 22:27:25 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2013-10-28 23:05:46 +0100 |
commit | 7f58a4572eaca75aecff2da889e67ea151616011 (patch) | |
tree | eaf63a3cbcfac54cd656a380e0c0f2800dfe660e /phpBB/phpbb/template/context.php | |
parent | 2afd47b938f5cf9b89a46f44d6e022c38695764d (diff) | |
download | forums-7f58a4572eaca75aecff2da889e67ea151616011.tar forums-7f58a4572eaca75aecff2da889e67ea151616011.tar.gz forums-7f58a4572eaca75aecff2da889e67ea151616011.tar.bz2 forums-7f58a4572eaca75aecff2da889e67ea151616011.tar.xz forums-7f58a4572eaca75aecff2da889e67ea151616011.zip |
[ticket/11981] Fix code sniffer complaints
PHPBB3-11981
Diffstat (limited to 'phpBB/phpbb/template/context.php')
-rw-r--r-- | phpBB/phpbb/template/context.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/template/context.php b/phpBB/phpbb/template/context.php index 24234c1e4a..decd1c7956 100644 --- a/phpBB/phpbb/template/context.php +++ b/phpBB/phpbb/template/context.php @@ -285,7 +285,7 @@ class context // Search array to get correct position list($search_key, $search_value) = @each($key); - $key = NULL; + $key = null; foreach ($block as $i => $val_ary) { if ($val_ary[$search_key] === $search_value) @@ -296,7 +296,7 @@ class context } // key/value pair not found - if ($key === NULL) + if ($key === null) { return false; } |