Support the ongoing development of Laravel.io →
posted 10 months ago
Session
Last updated by @veritexx 7 months 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 10 months ago.
1
Solution selected by @tvbeek

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

0

Sign in to participate in this thread!

LoadForge

Your banner here too?

Veritexx veritexx Joined 19 Jan 2020

Moderators

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

Your logo here?

Laravel.io

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

© 2022 Laravel.io - All rights reserved.