Menu

#2 mktime() expects parameter 1 to be long

open
kisenk
None
6
2008-08-22
2008-03-19
No

if you get this warning:
PHP Warning: mktime() expects parameter 1 to be long, string given in /var/www/timeeffect/include/effort.inc.php on line 245

then edit two lines in
/include/effort.inc.php:
Line 165 and 166:
$b_time = mktime($b_hour+1-1, $b_minute, $b_second, $month, $day, $year+1-1);
$e_time = mktime($e_hour+1-1, $e_minute, $e_second, $month, $day, $year+1-1);

Discussion

  • Ruben Barkow-Kuder

    Logged In: YES
    user_id=334647
    Originator: YES

    This bug still exists in ver 1_1_1_23

     
  • Ruben Barkow-Kuder

    • priority: 5 --> 6
     
  • Ruben Barkow-Kuder

    • assigned_to: nobody --> kisenk
     

Log in to post a comment.