summaryrefslogtreecommitdiff
path: root/modules/simpletest/tests/system_test.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/simpletest/tests/system_test.module')
-rw-r--r--modules/simpletest/tests/system_test.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/simpletest/tests/system_test.module b/modules/simpletest/tests/system_test.module
index 1209015fb..215fc87ee 100644
--- a/modules/simpletest/tests/system_test.module
+++ b/modules/simpletest/tests/system_test.module
@@ -263,11 +263,11 @@ function system_test_page_build(&$page) {
$page['footer'] = drupal_set_page_content();
$page['footer']['main']['#markup'] = '<div id="system-test-content">' . $page['footer']['main']['#markup'] . '</div>';
}
- else if ($menu_item['path'] == 'system-test/main-content-fallback') {
+ elseif ($menu_item['path'] == 'system-test/main-content-fallback') {
drupal_set_page_content();
$main_content_display = FALSE;
}
- else if ($menu_item['path'] == 'system-test/main-content-duplication') {
+ elseif ($menu_item['path'] == 'system-test/main-content-duplication') {
drupal_set_page_content();
}
}