#38 ✓resolved
Fabrice Luraine

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

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 new ticket

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

Pages