diff options
author | Alex Pott | 2015-11-28 15:50:23 (GMT) |
---|---|---|
committer | Alex Pott | 2015-11-28 15:50:23 (GMT) |
commit | f730e579b43bc20bcbef79a67dca3c5b34589c1e (patch) | |
tree | 69017ab067c368cda7e2cb80f22fc3bada88a3f6 /core/scripts | |
parent | d73dcaf7c0dd767965f9d70c2f57fed20ebf6ef4 (diff) |
Issue #2572695 by marvin_B8, attiks, pfrenssen, xjm: Fix 'Drupal.ControlStructures.ElseIf' coding standard
Diffstat (limited to 'core/scripts')
-rw-r--r-- | core/scripts/generate-d7-content.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/scripts/generate-d7-content.sh b/core/scripts/generate-d7-content.sh index 9925fe1..8b591f4 100644 --- a/core/scripts/generate-d7-content.sh +++ b/core/scripts/generate-d7-content.sh @@ -168,10 +168,10 @@ for ($i = 0; $i < 36; $i++) { if ($i < 12) { $node->type = 'page'; } - else if ($i < 24) { + elseif ($i < 24) { $node->type = 'story'; } - else if (module_exists('blog')) { + elseif (module_exists('blog')) { $node->type = 'blog'; } $node->sticky = 0; |