Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Wrong return result when trying to get an undefined flash var

#38

flash_now and flash should return null when trying to get an undefined flash var, not all flash vars. This behaviour will allow to test flash var presence

   if($test = flash_now('test')){#…}

Reported by Fabrice Luraine · February 25th, 2010 @ 02:11 PM

State: resolved
Milestone: none
Assigned to: nobody

Activity

  1. Fabrice Luraine
    Fabrice Luraine
    • State changed from new to resolved

    (from [61e3845cb4658e06474207c34d51fc193f1ddb56]) Fixing flash and flash_now return when trying to get an undefined key. Now return null instead of all flash vars [#38 Wrong return result when trying to get an undefined flash var state:resolved] http://github.com/sofadesign/limonade/commit/61e3845cb4658e06474207...

    February 25th, 2010 @ 02:26 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.