diff --git a/modules/setup/library/Setup/Utils/DbTool.php b/modules/setup/library/Setup/Utils/DbTool.php index b08f42bf8..3dd450d9c 100644 --- a/modules/setup/library/Setup/Utils/DbTool.php +++ b/modules/setup/library/Setup/Utils/DbTool.php @@ -691,7 +691,7 @@ EOD; . ' AND ' . $privilegeCondition . ($requireGrants ? " AND is_grantable = 'YES'" : ''), array(':grantee' => $grantee) ); - return (int) $query->fetchObject()->matches === count($mysqlPrivileges); + return $query->fetchObject()->matches === count($mysqlPrivileges); } /**