$args Was Out Of Scope in CheckMirror.

It looks like when the code was factored out no one noticed this variable doesn't exist here.
This commit is contained in:
Christopher Vollick 2009-08-07 08:28:20 -04:00 committed by Evan Prodromou
parent b27af3247d
commit 65c37d66c8

View File

@ -73,7 +73,7 @@ function handleError($error)
exit(-1); exit(-1);
} }
function checkMirror($action_obj) function checkMirror($action_obj, $args)
{ {
global $config; global $config;
@ -178,7 +178,7 @@ function main()
} else { } else {
$action_obj = new $action_class(); $action_obj = new $action_class();
checkMirror($action_obj); checkMirror($action_obj, $args);
try { try {
if ($action_obj->prepare($args)) { if ($action_obj->prepare($args)) {