#1 ✓resolved
vena

PHP Notice: Uninitialized string offset on line 827

Reported by vena | May 13th, 2009 @ 12:27 AM | in Release 0.3 - Citronnade

line 827 generates a notice error if the route is empty

{{{ if($uri[0] != '/') $uri = '/' . $uri; # add a leading slash }}}

could be fixed by changing to...

{{{ if(strlen($uri) > 0 && $uri[0] != '/') $uri = '/' . $uri; # add a leading slash }}}

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.

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