Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 9c01736b6828d133b8a52dd4cccc449c7d99e8e8 1 parent 74b54e2
@brendo brendo authored
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.
Something went wrong with that request. Please try again.