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:
74a1c21
)
Fixed bug causing early execution errors to occasionally be masked
author
Mr. E23
<e23@users.mediawiki.org>
Fri, 5 Mar 2004 21:24:14 +0000
(21:24 +0000)
committer
Mr. E23
<e23@users.mediawiki.org>
Fri, 5 Mar 2004 21:24:14 +0000
(21:24 +0000)
includes/GlobalFunctions.php
patch
|
blob
|
history
diff --git
a/includes/GlobalFunctions.php
b/includes/GlobalFunctions.php
index
f813511
..
5491fba
100644
(file)
--- a/
includes/GlobalFunctions.php
+++ b/
includes/GlobalFunctions.php
@@
-188,7
+188,7
@@
function wfDebug( $text, $logonly = false )
{
global $wgOut, $wgDebugLogFile, $wgDebugComments, $wgProfileOnly;
- if ( $wgDebugComments && !$logonly ) {
+ if (
isset( $wgOut ) &&
$wgDebugComments && !$logonly ) {
$wgOut->debug( $text );
}
if ( "" != $wgDebugLogFile && !$wgProfileOnly ) {