Skip to content
Snippets Groups Projects
Commit de2361cc authored by Jared Hancock's avatar Jared Hancock Committed by Peter Rotich
Browse files

queue: Fix crash using secondary data sources

parent f142b95b
Branches
Tags
No related merge requests found
...@@ -748,7 +748,7 @@ extends VerySimpleModel { ...@@ -748,7 +748,7 @@ extends VerySimpleModel {
} }
if (($F = $fields[$secondary]) if (($F = $fields[$secondary])
&& (list(,$field) = $F) && (list(,$field) = $F)
&& ($T = $F->from_query($row, $secondary)) && ($T = $field->from_query($row, $secondary))
) { ) {
return $field->display($field->to_php($T)); return $field->display($field->to_php($T));
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment