Skip to content

Commit

Permalink
Homepage|FrontController: Fixed potential out-of-bounds access in Err…
Browse files Browse the repository at this point in the history
…orHandler()
  • Loading branch information
danij-deng committed Jun 15, 2012
1 parent 16cba8f commit 6fd0cee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/classes/frontcontroller.class.php
Expand Up @@ -690,7 +690,7 @@ public static function ErrorHandler($errno, $errmsg, $filename, $linenum, $vars)
if(ini_get('log_errors'))
{
error_log(sprintf("PHP %s: %s in %s on line %d",
$errortype[$errno], $errmsg, $filename, $linenum));
isset($errortype[$errno])? $errortype[$errno] : "$errno", $errmsg, $filename, $linenum));
}

// Display it?
Expand Down

0 comments on commit 6fd0cee

Please sign in to comment.