Wrong return result when trying to get an undefined flash var
Reported by Fabrice Luraine | February 25th, 2010 @ 02:11 PM
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')){#…}
Comments and changes to this ticket
-
Fabrice Luraine February 25th, 2010 @ 02:26 PM
- 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 state:resolved] http://github.com/sofadesign/limonade/commit/61e3845cb4658e06474207...
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Limonade is a PHP micro-framework.
People watching this ticket
Referenced by
- 38 Wrong return result when trying to get an undefined flash var (from [61e3845cb4658e06474207c34d51fc193f1ddb56]) Fixing ...