Commit 9fef6b7927e16ec1176dcfff46f75e535214a601
1 parent
c599b2d9
SUP-2069:Updated Workflows
Committed by: Jarrett Jordaan Reviewed by: Megan Watson
Showing
1 changed file
with
1 additions
and
2 deletions
plugins/ktcore/admin/workflowsv2.php
| ... | ... | @@ -2367,11 +2367,10 @@ class KTWorkflowAdminV2 extends KTAdminDispatcher { |
| 2367 | 2367 | $allowed = array(); |
| 2368 | 2368 | // Modified Jarrett Jordaan Only notify enabled users |
| 2369 | 2369 | $q = sprintf('name like "%%%s%%" AND disabled = 0', DBUtil::escapeSimple($sFilter)); |
| 2370 | - | |
| 2371 | 2370 | $aUsers = User::getList($q); |
| 2371 | + $q = sprintf('name like "%%%s%%"', DBUtil::escapeSimple($sFilter)); | |
| 2372 | 2372 | $aGroups = Group::getList($q); |
| 2373 | 2373 | $aRoles = Role::getList($q); |
| 2374 | - | |
| 2375 | 2374 | $empty = true; |
| 2376 | 2375 | |
| 2377 | 2376 | if (!PEAR::isError($aUsers)) { | ... | ... |