Menu

#1 php date function throws errors on unintialised variables

v1.0_
open
php code (2)
5
2003-01-14
2003-01-14
No

as the summary shows, php date() does not seem to
like uninitialised variable even though date() overlooked
it in my previous PHP setup. I am guessing the new date
() function is more stricter which is good cause it doesnt
let me write lazy code .

File : cp/init_feature.php
cp/update_feature.php

Discussion

  • Thomas Eapen

    Thomas Eapen - 2003-01-14
    • summary: php date functions throws errors on unintialised variables --> php date function throws errors on unintialised variables
     
  • Thomas Eapen

    Thomas Eapen - 2003-01-14

    Logged In: YES
    user_id=673793

    cp/init_feature.php and
    cp/update_feature.php have been fixed. The date() function is
    only used after checking if all variables are initialised

     
  • Thomas Eapen

    Thomas Eapen - 2003-01-14

    Logged In: YES
    user_id=673793

    v 1.2 of update_feature.php and init_feature.php from CVS
    now contain the fixes for this bug

     

Log in to post a comment.

MongoDB Logo MongoDB