Skip to content

Commit

Permalink
Fixed error when no POST.
Browse files Browse the repository at this point in the history
  • Loading branch information
omichelsen committed Mar 2, 2014
1 parent e2424e3 commit bf812d6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion viewsource.php
Expand Up @@ -36,6 +36,9 @@ function markupLinks($html,$uri)

// Markup URIs and paths as links
$htmlenc = markupLinks($htmlenc,$uri);

// Print geshi stylesheet
$stylesheet = $geshi->get_stylesheet();
}
?>
<!DOCTYPE html>
Expand All @@ -52,7 +55,7 @@ function markupLinks($html,$uri)
overflow: auto;
white-space: pre-wrap;
}
<? echo $geshi->get_stylesheet(); ?>
<? echo $stylesheet; ?>
</style>
</head>

Expand Down

0 comments on commit bf812d6

Please sign in to comment.