diff --git a/modules/field/modules/number/number.module b/modules/field/modules/number/number.module index 812789d4efd1d75c127cf2d5b6f9532ef1a22dce..e06d358525a2ca87e6eb1887310c2ce4b6df87d3 100644 --- a/modules/field/modules/number/number.module +++ b/modules/field/modules/number/number.module @@ -352,7 +352,7 @@ function number_field_widget_validate($element, &$form_state) { $message = t('Only numbers and the decimal separator (@separator) allowed in %field.', array('%field' => t($instance['label']), '@separator' => $field['settings']['decimal_separator'])); break; - case 'integer'; + case 'integer': $regexp = '@[^-0-9]@'; $message = t('Only numbers are allowed in %field.', array('%field' => t($instance['label']))); break; diff --git a/modules/image/image.module b/modules/image/image.module index f9322bde830ee85cdb94893088f5ce483ea96ddb..56d511a1f84598a41f5650177ed81fcb29818482 100644 --- a/modules/image/image.module +++ b/modules/image/image.module @@ -888,7 +888,7 @@ function image_effect_definitions() { $effect['name'] = $name; $effect['data'] = isset($effect['data']) ? $effect['data'] : array(); $effects[$name] = $effect; - }; + } } uasort($effects, '_image_effect_definitions_sort'); cache_set("image_effects:$langcode", $effects); diff --git a/modules/openid/tests/openid_test.module b/modules/openid/tests/openid_test.module index b2f737b2170e61d7835d69a4d3971a3b297cb700..6532f3b677e419aa2d876471efb576309f9f0758 100644 --- a/modules/openid/tests/openid_test.module +++ b/modules/openid/tests/openid_test.module @@ -178,10 +178,10 @@ function openid_test_html_openid2() { */ function openid_test_endpoint() { switch ($_REQUEST['openid_mode']) { - case 'associate'; + case 'associate': _openid_test_endpoint_associate(); break; - case 'checkid_setup'; + case 'checkid_setup': _openid_test_endpoint_authenticate(); break; } diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc index 82d316660c88037d98a43ab8b6bd6aeacff0c27b..aa70243e01c34a5c581202cd7949ebfb34395409 100644 --- a/modules/system/system.admin.inc +++ b/modules/system/system.admin.inc @@ -312,7 +312,7 @@ function system_themes_page() { ); if (!empty($theme_groups['disabled'])) { $theme_group_titles['disabled'] = format_plural(count($theme_groups['disabled']), 'Disabled theme', 'Disabled themes'); - }; + } uasort($theme_groups['enabled'], 'system_sort_themes'); drupal_alter('system_themes_page', $theme_groups); diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index 8f9786daca4f58e2552a280ce23c4f88f31451ff..00c7506af61fce4a972be1d148aa1bac0c003692 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -19,7 +19,7 @@ function taxonomy_help($path, $arg) { $output .= '
'; $output .= '
' . t('Creating vocabularies') . '
'; $output .= '
' . t('Users with sufficient permissions can create vocabularies and terms through the Taxonomy page. The page listing the terms provides a drag-and-drop interface for controlling the order of the terms and sub-terms within a vocabulary, in a hierarchical fashion. A controlled vocabulary classifying music by genre with terms and sub-terms could look as follows:', array('@taxo' => url('admin/structure/taxonomy'), '@perm' => url('admin/people/permissions', array('fragment'=>'module-taxonomy')))); - $output .= '