aboutsummaryrefslogtreecommitdiff
path: root/tests/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/index.php')
-rw-r--r--tests/index.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/index.php b/tests/index.php
index 50c36f6..b395b80 100644
--- a/tests/index.php
+++ b/tests/index.php
@@ -6,13 +6,13 @@
// Import requisites.
require_once '../index.php';
-// Draw the document.
-$display = new CinisisDisplayHelper('Isis Navigator');
-$display->form($display->form_input_text('entry'));
-
// Get entry number.
$entry = CinisisHttpHelper::get_numeric_arg('entry');
+// Draw the document.
+$display = new CinisisDisplayHelper('Isis Navigator');
+$display->form($display->form_input_text('entry', $entry));
+
// Get a db instance.
$isis = new CinisisDb();