diff --git a/modules/output_html.php b/modules/output_html.php index 5c762a9..6a87cb5 100644 --- a/modules/output_html.php +++ b/modules/output_html.php @@ -91,8 +91,8 @@ class HTMLOutput extends OutputModule { $fault['module'], $fault['reason'], $fault['object']['line'], - isset( $fault['svn']['author'] ) ? $fault['svn']['author'] : 'Unknown', - isset( $fault['svn']['revision'] ) ? $fault['svn']['revision'] : 'Unknown', + !empty( $fault['author'] ) ? $fault['author'] : 'Unknown', + !empty( $fault['revision'] ) ? $fault['revision'] : 'Unknown', $fault['object']['context'] ); } diff --git a/modules/output_text.php b/modules/output_text.php index 4172a9d..96666e1 100644 --- a/modules/output_text.php +++ b/modules/output_text.php @@ -14,8 +14,8 @@ class TextOutput extends OutputModule { $fault['level'], $fault['object']['file'], $fault['object']['line'], - isset( $fault['svn']['author'] ) ? $fault['svn']['author'] : '?', - isset( $fault['svn']['revision'] ) ? $fault['svn']['revision'] : '0', + !empty( $fault['author'] ) ? $fault['author'] : '?', + !empty( $fault['revision'] ) ? $fault['revision'] : '0', $fault['reason'] ); }