summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrenda Wallace <shiny@cpan.org>2009-09-13 20:16:07 +1200
committerBrenda Wallace <shiny@cpan.org>2009-09-14 19:08:37 +1200
commita2f4fe7fc80fa851dd9293d64c4727d4bb233b90 (patch)
tree9a22f07fbec83c4c6b59aca907fd71ac89b8db9d
parentacd9e7c05610ce2e5ddc582b8ec7c58991b7a21e (diff)
fixed up if statements
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index 83c14c495..8f2a7cf7f 100644
--- a/index.php
+++ b/index.php
@@ -49,11 +49,11 @@ function handleError($error)
}
$logmsg = "PEAR error: " . $error->getMessage();
- if(common_config('site', 'logdebug')) {
+ if (common_config('site', 'logdebug')) {
$logmsg .= " : ". $error->getDebugInfo();
}
common_log(LOG_ERR, $logmsg);
- if(common_config('site', 'logdebug')) {
+ if (common_config('site', 'logdebug')) {
$bt = $error->getBacktrace();
foreach ($bt as $line) {
common_log(LOG_ERR, $line);