Update the display start
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 15 Jul 2015 21:01:20 +0000 (17:01 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 15 Jul 2015 21:01:20 +0000 (17:01 -0400)
controllers/Import.php

index da4e4a8..54e5641 100644 (file)
             case 1:
                 $numPagesImported = $this->_import();
                 $start = filter_var($_REQUEST['start'], FILTER_VALIDATE_INT);
+                echo '<p>Start: ' . $start . '</p>';
                 if ($start === false) {
                     $start = 0;
                 } else {
                     $start += PAGES_PER_LOAD;
                 }
-                echo '<p>
-                    Start: ' . $start . '</p>
-                    <p>' . $numPagesImported . ' Pages Imported
+                echo '<p>' . $numPagesImported . ' Pages Imported
                     <form action="admin.php" method="get">
                     <input type="hidden" name="import" value="toolbox">
                     <input type="hidden" name="step" value="1">