Browse files

Fix parameters for Symphony::Database()->fetchCol method in the findE…

…ntriesForField method. Existing relations will now be kept if they don't feature inside the 'limit'
  • Loading branch information...
1 parent 74b54e2 commit 9c01736b6828d133b8a52dd4cccc449c7d99e8e8 @brendo brendo committed Oct 8, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 fields/field.selectbox_link.php
View
2 fields/field.selectbox_link.php
@@ -177,7 +177,7 @@ public function findEntriesForField(array $relation_id = array(), $field_id = nu
try {
// Figure out which `related_field_id` is from that section
- $relations = Symphony::Database()->fetchCol('id', 0, sprintf("
+ $relations = Symphony::Database()->fetchCol('id', sprintf("
SELECT e.id
FROM `tbl_fields` AS `f`
LEFT JOIN `tbl_sections` AS `s` ON (f.parent_section = s.id)

0 comments on commit 9c01736

Please sign in to comment.