Fixed wrong permission check for "Drop Routine" action
This commit is contained in:
parent
39b0f4d34b
commit
4e4456e9b8
@ -183,7 +183,7 @@ function PMA_RTN_getRowForList($routine, $rowclass = '')
|
||||
. '">' . $titles['Export'] . "</a>\n";
|
||||
$retval .= " </td>\n";
|
||||
$retval .= " <td>\n";
|
||||
if (PMA_currentUserHasPrivilege('EVENT', $db)) {
|
||||
if (PMA_currentUserHasPrivilege('ALTER ROUTINE', $db)) {
|
||||
$retval .= ' <a ' . $ajax_class['drop']
|
||||
. ' href="sql.php?'
|
||||
. $url_query
|
||||
|
||||
Loading…
Reference in New Issue
Block a user