Support the ongoing development of Laravel.io →
Session
Last updated by @veritexx 1 month ago.
0

Not really sure I get your question, but negate the 'if':

if (! Session::has('ac_responsibleArray')) {
    Session::put('ac_responsibleArray', $ac_responsibleArray);
}
Last updated by @gerardnll 5 months ago.
1
Solution selected by @tvbeek

thank you very much, that's exactly the solution!

0

Sign in to participate in this thread!

Cloudways

Your banner here too?

Veritexx Veritexx veritexx Joined 19 Jan 2020

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.