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
-
Fabrice Luraine May 22nd, 2009 @ 04:39 PM
- State changed from new to resolved
(from [518f423106b284c74e8c8060ceb49f3beb4afc35]) fix the notice error if the route is empty [#1 state:resolved] http://github.com/sofadesign/limonade/commit/518f423106b284c74e8c80...
-
Fabrice Luraine June 10th, 2009 @ 09:06 AM
- Milestone set to Release 0.3 - Citronnade
-
Fabrice Luraine June 10th, 2009 @ 09:08 AM
- Milestone set to Release 0.3 - Citronnade
[milestone:ID#42088 bulk edit command]
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
- 1 PHP Notice: Uninitialized string offset on line 827 (from [518f423106b284c74e8c8060ceb49f3beb4afc35]) fix the...
- 2 Notice: Uninitialized string offset in limonade.php in line 855 I hope this is fixed since i resolved ticket #1; but i'll...