corrected status in dialercontroller
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -1360,7 +1360,7 @@ class DialerController extends Controller | ... | @@ -1360,7 +1360,7 @@ class DialerController extends Controller |
| 1360 | 1360 | ||
| 1361 | if ($limit > 0) { | 1361 | if ($limit > 0) { |
| 1362 | 1362 | ||
| 1363 | $tusers = $wakka->getPersons("status IN ('Called','Incall') and mobile!='' and $roclientstr order by dialer_lastcall asc limit $limit"); | 1363 | $tusers = $wakka->getPersons("status ='New' and mobile!='' and $roclientstr order by dialer_lastcall asc limit $limit"); |
| 1364 | foreach ($tusers as $tuser) if (!isset($users[$tuser['id']])) $users[$tuser['id']] = $tuser; | 1364 | foreach ($tusers as $tuser) if (!isset($users[$tuser['id']])) $users[$tuser['id']] = $tuser; |
| 1365 | $limit = $limit - sizeof($tusers); | 1365 | $limit = $limit - sizeof($tusers); |
| 1366 | } | 1366 | } | ... | ... |
-
Please register or sign in to post a comment