Skip to content
Permalink
Browse files

Fix type error when editing routine privs

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
  • Loading branch information...
mauriciofauth committed Sep 4, 2019
1 parent aabd93f commit a5ba1064d79da9f2e547fb28bc64c422973a2bbb
Showing with 1 addition and 1 deletion.
  1. +1 −1 libraries/classes/Server/Privileges.php
@@ -3476,7 +3476,7 @@ public function parseProcPriv($privs)
'Execute_priv' => 'N',
'Grant_priv' => 'N',
];
foreach (explode(',', $privs) as $priv) {
foreach (explode(',', (string) $privs) as $priv) {
if ($priv == 'Alter Routine') {
$result['Alter_routine_priv'] = 'Y';
} else {

0 comments on commit a5ba106

Please sign in to comment.
You can’t perform that action at this time.