aboutsummaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/field.php4
-rw-r--r--apps/repetition.php4
-rw-r--r--apps/subfield.php6
3 files changed, 7 insertions, 7 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);
diff --git a/apps/repetition.php b/apps/repetition.php
index 6b7f9de..b2f25c9 100644
--- a/apps/repetition.php
+++ b/apps/repetition.php
@@ -22,8 +22,8 @@ $isis = new IsisFinder();
// Setup database and entry number.
if ($isis) {
// Query database.
- $field_name = $isis->getFieldName($field);
- $result = $isis->nextRepetition($entry, $field_name);
+ $field_name = $isis->getFieldName($field);
+ list($entry, $result) = $isis->nextRepetition($entry, $field_name);
// Navigation bar.
$display->navbar($entry, $isis->entries, $repetition, '&field='. $field);
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);