1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 00:18:23 +02:00

Refix bug #49558 as per bug #49676

This commit is contained in:
Rasmus Lerdorf
2009-09-26 00:53:59 +00:00
parent 8621a06eed
commit 5afa8a23bb
+1 -1
View File
@@ -3927,7 +3927,7 @@ static void php_do_date_sunrise_sunset(INTERNAL_FUNCTION_PARAMETERS, int calc_su
}
timelib_unixtime2local(t, time);
rs = timelib_astro_rise_set_altitude(t, longitude, latitude, altitude, calc_sunset?0:1, &h_rise, &h_set, &rise, &set, &transit);
rs = timelib_astro_rise_set_altitude(t, longitude, latitude, altitude, 1, &h_rise, &h_set, &rise, &set, &transit);
timelib_time_dtor(t);
if (rs != 0) {