Fixed SVN-related bugs in the output files Mantis: 2691

git-svn-id: file:///srv/svn/scanner/trunk@10 a0501263-5b7a-4423-a8ba-1edf086583e7
This commit is contained in:
Correl Roush 2008-02-28 17:06:07 +00:00
parent d165b90574
commit 227d59c733
2 changed files with 4 additions and 4 deletions

View file

@ -91,8 +91,8 @@ class HTMLOutput extends OutputModule {
$fault['module'], $fault['module'],
$fault['reason'], $fault['reason'],
$fault['object']['line'], $fault['object']['line'],
isset( $fault['svn']['author'] ) ? $fault['svn']['author'] : 'Unknown', !empty( $fault['author'] ) ? $fault['author'] : 'Unknown',
isset( $fault['svn']['revision'] ) ? $fault['svn']['revision'] : 'Unknown', !empty( $fault['revision'] ) ? $fault['revision'] : 'Unknown',
$fault['object']['context'] $fault['object']['context']
); );
} }

View file

@ -14,8 +14,8 @@ class TextOutput extends OutputModule {
$fault['level'], $fault['level'],
$fault['object']['file'], $fault['object']['file'],
$fault['object']['line'], $fault['object']['line'],
isset( $fault['svn']['author'] ) ? $fault['svn']['author'] : '?', !empty( $fault['author'] ) ? $fault['author'] : '?',
isset( $fault['svn']['revision'] ) ? $fault['svn']['revision'] : '0', !empty( $fault['revision'] ) ? $fault['revision'] : '0',
$fault['reason'] $fault['reason']
); );
} }