Merge pull request #1287 from mailpoet/dynamic-segments-bulk

Handle bulk operations on subscribers filtered by dynamic segments [PREMIUM-69]
This commit is contained in:
Tautvidas Sipavičius
2018-03-02 16:59:33 +02:00
committed by GitHub
5 changed files with 181 additions and 7 deletions

View File

@ -184,7 +184,7 @@ class Model extends \Sudzy\ValidModel {
return (int)$model['id'];
}, $rows);
if($callback !== false) {
if(is_callable($callback)) {
$callback($ids);
}