diff options
Diffstat (limited to 'apps/repetition.php')
-rw-r--r-- | apps/repetition.php | 4 |
1 files changed, 2 insertions, 2 deletions
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); |