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:
parent
d165b90574
commit
227d59c733
2 changed files with 4 additions and 4 deletions
|
@ -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']
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -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']
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue