Skip to content

Commit 5542743

Browse files
localheinzderickr
authored andcommitted
Fix: Run 'make coding-standards'
1 parent cb28db1 commit 5542743

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/layout.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ function print_news($news, $dog, $max = 5, $onlyyear = null, $return = false) {
379379
// Only print entries in the provided s/dog/cat/ egory
380380
// If $dog is null, everything matches
381381
foreach ($item["category"] as $category) {
382-
if (is_null($dog) || in_array($category["term"], (array)$dog, true)) {
382+
if (null === $dog || in_array($category["term"], (array)$dog, true)) {
383383
$ok = true;
384384
$count++;
385385
break;

0 commit comments

Comments
 (0)