Wrong type handling in funktion resi_make_calendar

Corny - March 30, 2008 - 11:31
Project:Airplane Reservation System
Version:5.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

On line 171 parameter 6 on function call should be of type long instead string.

This line
$starttag_stamp = mktime(0, 0, 0, $pieces[1]  ,  $pieces[2], $pieces[0]);
should be replaced by
$starttag_stamp = mktime(0, 0, 0, $pieces[1], $pieces[2], intval($pieces[0]));

#1

Jochen Wendebaum - July 9, 2009 - 10:50
Status:active» closed

I just released a new reservation system for Drupal 6, based on this module, and rewritten completly from scracht.

http://drupal.org/project/simple_reservation

The "airplane reservation system" won't be touched anymore in the future, all efforts go into this new project.

 
 

Drupal is a registered trademark of Dries Buytaert.