2 users online. Create an account or sign in to join them.Users
Renaming sections generates invalid SQL syntax
A for , submitted by Nils on 02 January 2010
Announcement
Symphony's issue tracker has been moved to Github.
Issues are displayed here for reference only and cannot be created or edited.
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
'beforeAND)