Bug #9397: fields is never determined
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 24 Nov 2010 16:51:40 +0000 (09:51 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 24 Nov 2010 16:51:40 +0000 (09:51 -0700)
horde/templates/data/csvinfo.inc

index 2bedf33..030274f 100644 (file)
     <?php echo Horde::label('quote', _("What is the quote character?")) ?>
     <input type="text" id="quote" name="quote" size="1" value="<?php echo htmlspecialchars($quote) ?>" /><br />
     <?php endif; ?>
-    <?php if ($fields = $GLOBALS['session']->get('horde', 'import_data/fields')): ?>
     <?php echo Horde::label('fields', _("How many fields (columns) are there?")) ?>
-    <input type="text" id="fields" name="fields" size="2" value="<?php echo (int)$fields ?>" /><br />
-    <?php endif; ?>
+    <input type="text" id="fields" name="fields" size="2" /><br />
 </div>
 <input type="submit" value="<?php echo _("Next") ?>" class="button" />
 </form>