Support the ongoing development of Laravel.io →
posted 2 years ago
Session
Last updated by @veritexx 2 years 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 2 years ago.

veritexx liked this reply

1
Solution selected by @tvbeek

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

0

Sign in to participate in this thread!

Eventy

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.

© 2024 Laravel.io - All rights reserved.