Skip to content

Commit

Permalink
Fix test unit.
Browse files Browse the repository at this point in the history
  • Loading branch information
lchenay committed May 14, 2012
1 parent 7164a1e commit 21428bc
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -58,7 +58,7 @@ public function testGetRelativePathFromTo()
$row = $fileTable->createRow();

$os = 'linux';
if (preg_match('`Window`i', $_SERVER['OS'])) {
if (isset($_SERVER['OS']) && preg_match('`Window`i', $_SERVER['OS'])) {
$os = 'windows';
}
if ('linux' == $os) {
Expand Down

0 comments on commit 21428bc

Please sign in to comment.