bug in makegrid.js: where_clause is undefined
Signed-off-by: Marc Delisle <marc@infomarc.info>
This commit is contained in:
parent
2a67e3340d
commit
1e51819d6e
@ -8,6 +8,7 @@ phpMyAdmin - ChangeLog
|
||||
- bug #4557 PHP fatal error, undefined function __()
|
||||
- bug #4568 Date displayed incorrectly when charting a timeline
|
||||
- bug #4571 Database Privileges link does not work
|
||||
- bug makegrid.js: where_clause is undefined
|
||||
|
||||
4.2.10.1 (2014-10-21)
|
||||
- bug #4562 [security] XSS in debug SQL output
|
||||
|
||||
@ -1102,6 +1102,9 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi
|
||||
$('td.to_be_saved').parents('tr').each(function () {
|
||||
var $tr = $(this);
|
||||
var where_clause = $tr.find('.where_clause').val();
|
||||
if (typeof where_clause === 'undefined') {
|
||||
where_clause = '';
|
||||
}
|
||||
full_where_clause.push(PMA_urldecode(where_clause));
|
||||
var condition_array = jQuery.parseJSON($tr.find('.condition_array').val());
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user