Fix for the fix: Turns out that next() returns false if an array element's
authordefacer <defacer>
Thu, 1 Apr 2004 11:29:25 +0000 (11:29 +0000)
committerdefacer <defacer>
Thu, 1 Apr 2004 11:29:25 +0000 (11:29 +0000)
commitf3d142dae401d34c0b56dfa8c8833d4884a68f14
tree5255e1e68ad75186b2bde1ffcd4f6b8956ebac45
parent556596510a7c4e7aa97e3b3c9d3d96ff08d4c3cf
Fix for the fix: Turns out that next() returns false if an array element's
value is 0 (the php docs speak only about the key... :/). Good thing that my
test user's timezone is set to GMT+0. This should work no matter what.
lib/moodlelib.php