~ubuntu-branches/ubuntu/karmic/drupal6/karmic

« back to all changes in this revision

Viewing changes to modules/aggregator/aggregator.module

  • Committer: Bazaar Package Importer
  • Author(s): Luigi Gangitano, Luigi Gangitano
  • Date: 2009-05-04 19:56:12 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090504195612-hvdmh4goeszhjo0k
Tags: 6.11-1
[ Luigi Gangitano ]
* New upstream release
  - Fixes XSS vulnerability (Ref: SA-CORE-2009-005, CVE-TBD)
    (Closes: #526378)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?php
2
 
// $Id: aggregator.module,v 1.374.2.4 2009/01/14 21:36:16 goba Exp $
 
2
// $Id: aggregator.module,v 1.374.2.5 2009/03/30 12:15:53 goba Exp $
3
3
 
4
4
/**
5
5
 * @file
390
390
  else if (!empty($edit['title'])) {
391
391
    // A single unique id for bundles and feeds, to use in blocks
392
392
    db_query("INSERT INTO {aggregator_category} (title, description, block) VALUES ('%s', '%s', 5)", $edit['title'], $edit['description']);
393
 
    $link_path .= db_last_insert_id('aggregator', 'cid');
 
393
    $link_path .= db_last_insert_id('aggregator_category', 'cid');
394
394
    $op = 'insert';
395
395
  }
396
396
  if (isset($op)) {