From: Christopher Vollick Date: Fri, 7 Aug 2009 12:28:20 +0000 (-0400) Subject: $args Was Out Of Scope in CheckMirror. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=69fb7817ef8b9e5018496fb8ed29b82b92f36ddb;p=quix0rs-gnu-social.git $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. --- diff --git a/index.php b/index.php index 5f13064dab..2e74d38fb0 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)) {