summaryrefslogtreecommitdiff
path: root/modules/simpletest
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-10-15 13:56:08 +0000
committerDries Buytaert <dries@buytaert.net>2008-10-15 13:56:08 +0000
commit305d14412cb85673934800fef40f77443c348a01 (patch)
treec3ce9659ad5ebc8a97ce16463e9b195c2fe9a407 /modules/simpletest
parenta461097c28813d4f2041b0306e82b00d7e250386 (diff)
downloadbrdo-305d14412cb85673934800fef40f77443c348a01.tar.gz
brdo-305d14412cb85673934800fef40f77443c348a01.tar.bz2
- Patch #321165 by Dave Reid: fixed exceptions in XML-RPC library and its tests.
Diffstat (limited to 'modules/simpletest')
-rw-r--r--modules/simpletest/tests/xmlrpc_test.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/simpletest/tests/xmlrpc_test.module b/modules/simpletest/tests/xmlrpc_test.module
index 132171742..fba5a0430 100644
--- a/modules/simpletest/tests/xmlrpc_test.module
+++ b/modules/simpletest/tests/xmlrpc_test.module
@@ -30,7 +30,7 @@ function xmlrpc_test_echoStructTest($array) {
}
function xmlrpc_test_manyTypesTest($number, $boolean, $string, $double, $dateTime, $base64) {
- $timestamp = mktime($dateTime->hour, $dateTime->minute, $dateTime->second, $dateTime->month, $dateTime->day, $dateTime->year);
+ $timestamp = gmmktime($dateTime->hour, $dateTime->minute, $dateTime->second, $dateTime->month, $dateTime->day, $dateTime->year);
return array($number, $boolean, $string, $double, xmlrpc_date($timestamp), xmlrpc_Base64($base64));
}