0 users online. Create an account or sign in to join them.Users
Incorrect database call in fieldmanager
A bug in 2.1.1, submitted by kanduvisla on 20 October 2010
Announcement
Symphony's issue tracker has been moved to Github.
Issues are displayed here for reference only and cannot be created or edited.
In class.fieldmanager.php line 98:
return $this->_Parent->Database->fetchVar('element_name', 0, "SELECT `element_name` FROM `sym_fields` WHERE `id` = '$id' LIMIT 1");Shouldn’t this be:
return Symphony::Database()->fetchVar('element_name', 0, "SELECT `element_name` FROM `sym_fields` WHERE `id` = '$id' LIMIT 1");I had an error today with the FieldManager where _Parent->Database wasn’t found.