Skip to content
This repository was archived by the owner on Nov 21, 2025. It is now read-only.

Commit 5bc5717

Browse files
committed
Fixed possible error, when making the creation-timestamp of a user
1 parent a7ce58f commit 5bc5717

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/classes/intern_user_class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -988,7 +988,7 @@ function change_user()
988988
}
989989

990990
$ex_zst2 = explode(":", $ex_zst['1']);
991-
$time = @mktime($ex_zst2['0'], $ex_zst2['1'], $ex_zst2['2'], $ex_zst1['1'], $ex_zst1['2'], $ex_zst1['0']);
991+
$time = @mktime((int)$ex_zst2['0'], (int)$ex_zst2['1'], (int)$ex_zst2['2'], (int)$ex_zst1['1'], (int)$ex_zst1['2'], (int)$ex_zst1['0']);
992992
}
993993
else {
994994
$time = $row->zeitstempel;

0 commit comments

Comments
 (0)