Commit c2c8b963 by Julien Jorry

Fix operationutils bug : disabled already disabled enabled_filter

parent 09744fb2
......@@ -167,7 +167,9 @@ class OperationUtils
*/
public function getUserOperationsByCurrency(Request $request, string $currency = null)
{
$this->em->getFilters()->disable('enabled_filter');
if ($this->em->getFilters()->isEnabled('enabled_filter')) {
$this->em->getFilters()->disable('enabled_filter');
}
if (null == $this->security->getUser()) {
return null;
}
......
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