Re: [PHP] 1 last error to fix before the application is done!
- From: jochem@xxxxxxxxxxxxx (Jochem Maas)
- Date: Tue, 14 Oct 2008 14:28:53 +0200
Jason Pruim schreef:
Good morning everyone!
I think I might be having a "to early in the morning/not enough
caffeine" moment... But I am down to 1 error on my timecard application
that I would like to clean up. It's a small undefined index error, and
the program works jsut fine the way it is, but why leave an error if you
don't need to? :)
Here is the error:
[Tue Oct 14 08:19:47 2008] [error] PHP Notice: Undefined index:
userInfo in
/Volumes/RAIDer/webserver/Documents/dev/stimecard/inc/function/authentication.func.php
on line 22
and here is the relevant code:
======> Line 22 if($_SESSION['userInfo']['loggedin'] == TRUE) {
if(isset($_SESSION['userInfo']['loggedin']) && $_SESSION['userInfo']['loggedin'] == TRUE) {
....
now go and walk the plank.
.
- Follow-Ups:
- Re: 1 last error to fix before the application is done!
- From: Colin Guthrie
- Re: [PHP] 1 last error to fix before the application is done!
- From: Jason Pruim
- Re: 1 last error to fix before the application is done!
- References:
- 1 last error to fix before the application is done!
- From: Jason Pruim
- 1 last error to fix before the application is done!
- Prev by Date: 1 last error to fix before the application is done!
- Next by Date: Re: [PHP] 1 last error to fix before the application is done!
- Previous by thread: 1 last error to fix before the application is done!
- Next by thread: Re: [PHP] 1 last error to fix before the application is done!
- Index(es):
Relevant Pages
|