mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 06:03:28 +00:00
Neither table nor field permissions can be null
This commit is contained in:
@@ -38,7 +38,7 @@ else {
|
||||
$in{'db'},
|
||||
$in{'user_def'} ? '' : $in{'user'},
|
||||
$in{'table'}, $config{'login'} || "root",
|
||||
$in{'perms1'}, $in{'perms2'});
|
||||
$in{'perms1'} || '', $in{'perms2'} || '');
|
||||
}
|
||||
else {
|
||||
# Update existing table permissions
|
||||
@@ -51,7 +51,7 @@ else {
|
||||
&execute_sql_logged($master_db, $sql,
|
||||
$in{'host_def'} ? '%' : $in{'host'},
|
||||
$in{'user_def'} ? '' : $in{'user'},
|
||||
$in{'table'}, $in{'perms1'}, $in{'perms2'},
|
||||
$in{'table'}, $in{'perms1'} || '', $in{'perms2'} || '',
|
||||
$in{'oldhost'}, $in{'olddb'},
|
||||
$in{'olduser'}, $in{'oldtable'});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user