From 161a9970f77ce6813e710e08076f5d4fc494259a Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Mon, 15 Sep 2008 20:48:10 +0000 Subject: #308534 by Dave Reid: Remove stray whitespace core-wide. --- modules/taxonomy/taxonomy.pages.inc | 2 +- modules/taxonomy/taxonomy.test | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/taxonomy') diff --git a/modules/taxonomy/taxonomy.pages.inc b/modules/taxonomy/taxonomy.pages.inc index 3ee0b9743..bcaffbf25 100644 --- a/modules/taxonomy/taxonomy.pages.inc +++ b/modules/taxonomy/taxonomy.pages.inc @@ -120,7 +120,7 @@ function taxonomy_autocomplete($vid, $string = '') { $matches = array(); if ($last_string != '') { $result = db_query_range(db_rewrite_sql("SELECT t.tid, t.name FROM {term_data} t WHERE t.vid = :vid AND LOWER(t.name) LIKE LOWER(:last_string)", 't', 'tid'), array( - ':vid' => $vid, + ':vid' => $vid, ':last_string' => '%'. $last_string .'%', ), 0, 10); diff --git a/modules/taxonomy/taxonomy.test b/modules/taxonomy/taxonomy.test index be8e37815..6d8b25552 100644 --- a/modules/taxonomy/taxonomy.test +++ b/modules/taxonomy/taxonomy.test @@ -474,7 +474,7 @@ class TermEditTestCase extends DrupalWebTestCase { and that term name and description are saved.'), 'group' => t('Taxonomy')); } - + /** * Implementation of setUp(). */ @@ -525,4 +525,4 @@ class TermEditTestCase extends DrupalWebTestCase { $this->assertText($edit['name'], t('The randomly generated term name is present.')); $this->assertText($edit['description'], t('The randomly generated term description is present.')); } -} \ No newline at end of file +} -- cgit v1.2.3