Commit 5c1c49a8 authored by Tizian Schmidlin's avatar Tizian Schmidlin

[BUGFIX] Fix wrong constant usage

parent 1702db3f
......@@ -40,7 +40,7 @@ class ToolbarItemHook implements \TYPO3\CMS\Backend\Toolbar\ToolbarItemInterface
->getQueryBuilderForTable('fe_users');
$this->users = $queryBuilder->select('*')
->from('fe_users')
->where($queryBuilder->expr()->eq('email', $queryBuilder->createNamedParameter($email, \PDO::PARAM_STRING)))
->where($queryBuilder->expr()->eq('email', $queryBuilder->createNamedParameter($email, \PDO::PARAM_STR)))
->execute()
->fetchAll();
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment