aboutsummaryrefslogtreecommitdiff
path: root/apps/field.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/field.php')
-rw-r--r--apps/field.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/field.php b/apps/field.php
index f34bffa..563b2b0 100644
--- a/apps/field.php
+++ b/apps/field.php
@@ -22,8 +22,8 @@ $isis = new IsisFinder();
// Setup database and entry number.
if ($isis) {
// Query database.
- $field_name = $isis->getFieldName($field);
- $result = $isis->nextField($entry, $field_name);
+ $field_name = $isis->getFieldName($field);
+ list($entry, $result) = $isis->nextField($entry, $field_name);
// Navigation bar.
$display->navbar($entry, $isis->entries, $repetition, '&field='. $field);