We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 69fb7817 authored by Christopher Vollick's avatar Christopher Vollick Committed by Craig Andrews

$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.
parent 91cba7a7
...@@ -73,7 +73,7 @@ function handleError($error) ...@@ -73,7 +73,7 @@ function handleError($error)
exit(-1); exit(-1);
} }
function checkMirror($action_obj) function checkMirror($action_obj, $args)
{ {
global $config; global $config;
...@@ -198,7 +198,7 @@ function main() ...@@ -198,7 +198,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)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment