diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-08-18 07:19:45 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-08-18 07:19:45 +0000 |
commit | 39996f511e77c0cfb436558d2ed2609914b60464 (patch) | |
tree | 6769e0d703b41da5e0cb2d613ae6f5ad7f604feb /modules/aggregator | |
parent | 267a88e77e94af15485b22cfea34580f3bf8a7e0 (diff) | |
download | brdo-39996f511e77c0cfb436558d2ed2609914b60464.tar.gz brdo-39996f511e77c0cfb436558d2ed2609914b60464.tar.bz2 |
- Fixed misplaced check_plain(). Reported by Jim Phlew.
Diffstat (limited to 'modules/aggregator')
-rw-r--r-- | modules/aggregator/aggregator.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module index 99d09940c..d9dcc49b1 100644 --- a/modules/aggregator/aggregator.module +++ b/modules/aggregator/aggregator.module @@ -449,8 +449,8 @@ function aggregator_form_feed($edit = array()) { $values = array(); $categories = db_query('SELECT c.cid, c.title, f.fid FROM {aggregator_category} c LEFT JOIN {aggregator_category_feed} f ON c.cid = f.cid AND f.fid = %d ORDER BY title', $edit['fid']); while ($category = db_fetch_object($categories)) { - $options[$category->cid] = $category->title; - if ($category->fid) $values[] = check_plain($category->cid); + $options[$category->cid] = check_plain($category->title); + if ($category->fid) $values[] = $category->cid; } if ($options) { $form['category'] = array('#type' => 'checkboxes', |