dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35848f9
)
Might or might not fix a php5 notice error (undefined variable)
author
Antoine Musso
<hashar@users.mediawiki.org>
Wed, 31 Aug 2005 14:58:36 +0000
(14:58 +0000)
committer
Antoine Musso
<hashar@users.mediawiki.org>
Wed, 31 Aug 2005 14:58:36 +0000
(14:58 +0000)
includes/GlobalFunctions.php
patch
|
blob
|
history
diff --git
a/includes/GlobalFunctions.php
b/includes/GlobalFunctions.php
index
d338709
..
b09eef7
100644
(file)
--- a/
includes/GlobalFunctions.php
+++ b/
includes/GlobalFunctions.php
@@
-1114,6
+1114,7
@@
define('TS_ORACLE', 5);
* @return string Time in the format specified in $outputtype
*/
function wfTimestamp($outputtype=TS_UNIX,$ts=0) {
+ $uts = 0;
if ($ts==0) {
$uts=time();
} elseif (preg_match("/^(\d{4})\-(\d\d)\-(\d\d) (\d\d):(\d\d):(\d\d)$/",$ts,$da)) {