2 users online. Create an account or sign in to join them.Users

Announcement

Symphony's issue tracker has been moved to Github.

Issues are displayed here for reference only and cannot be created or edited.

Browse

Closed#185: Renaming sections generates invalid SQL syntax

Line 603 in content.blueprintssections.phpshould be:

## Check for duplicate section handle
elseif($meta['name'] != $existing_section->get('name') && Symphony::Database()->fetchRow(0, "SELECT * FROM `sym_sections` WHERE `name` = '" . $meta['name'] . "' AND `id` != ' . $section_id . ' LIMIT 1")){
    $this->_errors['name'] = __('A Section with the name <code>%s</code> name already exists', array($meta['name']));
    $canProceed = false;
}

(missing ' before AND)

Thanks Nils. fixed

This issue is closed.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.2 or above
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.0 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details