missing statement group

This commit is contained in:
Marc Delisle
2004-05-29 17:50:11 +00:00
parent e9602b27bb
commit 929b6311aa
2 changed files with 5 additions and 1 deletions

View File

@@ -9,6 +9,9 @@ $Source$
* sql.php: bug #956828, deleting last row gives an error. I could not
find a case where we need the line I just removed, which was
causing the bug.
* tbl_properties.inc.php: missing statement group {}, was causing
the display of part of the changing amount of columns dialog
when editing a field structure
2004-05-28 Michal Čihař <michal@cihar.com>
* libraries/display_tbl.lib.php: Decrease limit for query truncating (see

View File

@@ -607,10 +607,11 @@ echo "\n";
<input type="submit" name="submit" value="<?php echo $strSave; ?>" />
<?php
if ($action == 'tbl_create.php' || $action == 'tbl_addfield.php')
if ($action == 'tbl_create.php' || $action == 'tbl_addfield.php') {
echo ' &nbsp;&nbsp;<em>' . $strOr . '</em>&nbsp;&nbsp;' . $strFields . ':' . "\n";
echo ' ' . '<input type="text" name="num_fields" size="2" class="textfield" value="' . $num_fields . '" />' . "\n";
echo ' ' . '&nbsp;<input type="submit" name="submit_num_fields" value="' . $strGo . '" />' . "\n";
}
?>
</form>