summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-04-23 05:48:13 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-04-23 05:48:13 +0000
commit57fe6927a05c565ac5e2b61dcf9fe82da6614872 (patch)
tree5ec922fd9de0b091cc75bc80b0d9adab84610cb4
parent6e82d23e9717a55417fe53a478aff2d80698d2f0 (diff)
downloadbrdo-57fe6927a05c565ac5e2b61dcf9fe82da6614872.tar.gz
brdo-57fe6927a05c565ac5e2b61dcf9fe82da6614872.tar.bz2
#779390 by solotandem: Fixed esoteric invalid syntax bugs in core found by Grammar Parser module.
-rw-r--r--modules/field/modules/number/number.module2
-rw-r--r--modules/image/image.module2
-rw-r--r--modules/openid/tests/openid_test.module4
-rw-r--r--modules/system/system.admin.inc2
-rw-r--r--modules/taxonomy/taxonomy.module2
5 files changed, 6 insertions, 6 deletions
diff --git a/modules/field/modules/number/number.module b/modules/field/modules/number/number.module
index 812789d4e..e06d35852 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 f9322bde8..56d511a1f 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 b2f737b21..6532f3b67 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 82d316660..aa70243e0 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 8f9786dac..00c7506af 100644
--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/taxonomy.module
@@ -19,7 +19,7 @@ function taxonomy_help($path, $arg) {
$output .= '<dl>';
$output .= '<dt>' . t('Creating vocabularies') . '</dt>';
$output .= '<dd>' . t('Users with sufficient <a href="@perm">permissions</a> can create <em>vocabularies</em> and <em>terms</em> through the <a href="@taxo">Taxonomy page</a>. 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 <em>controlled vocabulary</em> 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 .= '<ul><li>' . t ('<em>vocabulary</em>: Music'); '</li>';
+ $output .= '<ul><li>' . t ('<em>vocabulary</em>: Music') . '</li>';
$output .= '<ul><li>' . t('<em>term</em>: Jazz') . '</li>';
$output .= '<ul><li>' . t('<em>sub-term</em>: Swing') . '</li>';
$output .= '<li>' . t('<em>sub-term</em>: Fusion') . '</li></ul></ul>';