Edit next row did not work in 2.9.0-dev
This commit is contained in:
@@ -6,6 +6,9 @@ $Id$
|
|||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
|
||||||
|
2006-07-16 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
|
* tbl_change.php: Edit next row did not work in 2.9.0-dev
|
||||||
|
|
||||||
2006-07-13 Marc Delisle <lem9@users.sourceforge.net>
|
2006-07-13 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* main.php: put emphasis on server name
|
* main.php: put emphasis on server name
|
||||||
|
|
||||||
|
@@ -942,7 +942,10 @@ if (isset($primary_key)) {
|
|||||||
<option value="same_insert" <?php echo ($after_insert == 'same_insert' ? 'selected="selected"' : ''); ?>><?php echo $strAfterInsertSame; ?></option>
|
<option value="same_insert" <?php echo ($after_insert == 'same_insert' ? 'selected="selected"' : ''); ?>><?php echo $strAfterInsertSame; ?></option>
|
||||||
<?php
|
<?php
|
||||||
// If we have just numeric primary key, we can also edit next
|
// If we have just numeric primary key, we can also edit next
|
||||||
if (preg_match('@^[\s]*`[^`]*` = [0-9]+@', $primary_key)) {
|
// in 2.8.2, we were looking for `field_name` = numeric_value
|
||||||
|
//if (preg_match('@^[\s]*`[^`]*` = [0-9]+@', $primary_key)) {
|
||||||
|
// in 2.9.0, we are looking for `table_name`.`field_name` = numeric_value
|
||||||
|
if (preg_match('@^[\s]*`[^`]*`[\.]`[^`]*` = [0-9]+@', $primary_key)) {
|
||||||
?>
|
?>
|
||||||
<option value="edit_next"><?php echo $strAfterInsertNext; ?></option>
|
<option value="edit_next"><?php echo $strAfterInsertNext; ?></option>
|
||||||
<?php
|
<?php
|
||||||
|
Reference in New Issue
Block a user