summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Vollick <psycotica0@gmail.com>2009-08-07 08:28:20 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-08-10 16:33:07 -0400
commit65c37d66c83507b08284669a0b2413631ca55480 (patch)
treeaeb83d5513388d9f109c93bcb7ff086bad62559d
parentb27af3247d4e0a13a1cd8b29e3938e8d81fa3d22 (diff)
$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.
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index 5f9a048f2..88e2aa0f0 100644
--- a/index.php
+++ b/index.php
@@ -73,7 +73,7 @@ function handleError($error)
exit(-1);
}
-function checkMirror($action_obj)
+function checkMirror($action_obj, $args)
{
global $config;
@@ -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)) {