Skip to content

Commit

Permalink
$args Was Out Of Scope in CheckMirror.
Browse files Browse the repository at this point in the history
It looks like when the code was factored out no one noticed this variable doesn't exist here.
  • Loading branch information
psycotica0 authored and Evan Prodromou committed Aug 10, 2009
1 parent b27af32 commit 65c37d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.php
Expand Up @@ -73,7 +73,7 @@ function handleError($error)
exit(-1);
}

function checkMirror($action_obj)
function checkMirror($action_obj, $args)
{
global $config;

Expand Down Expand Up @@ -178,7 +178,7 @@ function main()
} else {
$action_obj = new $action_class();

checkMirror($action_obj);
checkMirror($action_obj, $args);

try {
if ($action_obj->prepare($args)) {
Expand Down

0 comments on commit 65c37d6

Please sign in to comment.