diff options
author | Brenda Wallace <shiny@cpan.org> | 2009-09-13 20:16:07 +1200 |
---|---|---|
committer | Brenda Wallace <shiny@cpan.org> | 2009-09-14 19:08:37 +1200 |
commit | a2f4fe7fc80fa851dd9293d64c4727d4bb233b90 (patch) | |
tree | 9a22f07fbec83c4c6b59aca907fd71ac89b8db9d | |
parent | acd9e7c05610ce2e5ddc582b8ec7c58991b7a21e (diff) |
fixed up if statements
-rw-r--r-- | index.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |