Replaced lists with pluck in views
Updated various views where lists method was being used, replaced lists with pluck to make page working.
This commit is contained in:
@@ -144,7 +144,7 @@ class WorkflowController extends Controller
|
||||
*/
|
||||
public function create(Emails $emails)
|
||||
{
|
||||
$email_data = '';
|
||||
$email_data = [];
|
||||
foreach ($emails->pluck('email_address', 'id') as $key => $email) {
|
||||
$email_data["E-$key"] = $email;
|
||||
}
|
||||
|
Reference in New Issue
Block a user