Skip to content

Commit f3a6442

Browse files
committed
Fix: Run 'make coding-standards'
1 parent 5c20172 commit f3a6442

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/layout.inc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,9 +212,9 @@ function sect_to_file($string) {
212212
$feat = "features.$string.php";
213213
$struct = "control-structures.$string.php";
214214
if (@is_file($func)) return $func;
215-
elseif (@is_file($chap)) return $chap;
216-
elseif (@is_file($feat)) return $feat;
217-
elseif (@is_file($struct)) return $struct;
215+
if (@is_file($chap)) return $chap;
216+
if (@is_file($feat)) return $feat;
217+
if (@is_file($struct)) return $struct;
218218
else return "$string.php";
219219
}
220220

0 commit comments

Comments
 (0)