summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorChristopher Vollick <psycotica0@gmail.com>2009-08-07 08:28:20 -0400
committerCraig Andrews <candrews@integralblue.com>2009-08-07 13:33:27 -0400
commit69fb7817ef8b9e5018496fb8ed29b82b92f36ddb (patch)
tree8cb0fca94ec52ba704ab9cd2d052195554419f5b /index.php
parent91cba7a76f97a1669cbe9a2c2fa1b3e653786f26 (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.
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index 5f13064da..2e74d38fb 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;
@@ -198,7 +198,7 @@ function main()
} else {
$action_obj = new $action_class();
- checkMirror($action_obj);
+ checkMirror($action_obj, $args);
try {
if ($action_obj->prepare($args)) {