You've already forked phpmyadmin
mirror of
https://github.com/phpmyadmin/phpmyadmin.git
synced 2026-10-29 21:24:44 +03:00
Initialize to null for '!== null' checks to work
This commit is contained in:
@@ -216,7 +216,7 @@ JQPlotChartFactory.prototype.createChart = function (type, elementId) {
|
||||
*/
|
||||
var JQPlotChart = function (elementId) {
|
||||
Chart.call(this, elementId);
|
||||
this.plot;
|
||||
this.plot = null;
|
||||
this.validator;
|
||||
};
|
||||
JQPlotChart.prototype = new Chart();
|
||||
|
||||
@@ -405,7 +405,7 @@ AJAX.registerOnload('server_privileges.js', function () {
|
||||
|
||||
// If any option other than 'keep the old one'(option 4) is chosen, we need to remove
|
||||
// the old one from the table.
|
||||
var $row_to_remove;
|
||||
var $row_to_remove = null;
|
||||
if (curr_submit_name == 'change_copy'
|
||||
&& $('input[name=mode]:checked', '#fieldset_mode').val() != '4') {
|
||||
var old_username = $t.find('input[name="old_username"]').val();
|
||||
|
||||
Reference in New Issue
Block a user