aboutsummaryrefslogtreecommitdiff
path: root/apps/subfield.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/subfield.php')
-rw-r--r--apps/subfield.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/subfield.php b/apps/subfield.php
index e3d5d75..a4c804a 100644
--- a/apps/subfield.php
+++ b/apps/subfield.php
@@ -24,9 +24,9 @@ $isis = new IsisFinder();
// Setup database and entry number.
if ($isis) {
// Query database.
- $field_name = $isis->getFieldName($field);
- $subfield_name = $isis->getSubfieldName($field, $subfield);
- $result = $isis->nextSubfield($entry, $field_name, $subfield_name);
+ $field_name = $isis->getFieldName($field);
+ $subfield_name = $isis->getSubfieldName($field, $subfield);
+ list($entry, $result) = $isis->nextSubfield($entry, $field_name, $subfield_name);
// Navigation bar.
$display->navbar($entry, $isis->entries, $repetition, '&field='. $field . '&subfield='. $subfield);