From: Evan Prodromou Date: Sun, 17 Apr 2011 22:12:12 +0000 (-0400) Subject: reverse order of register connects X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=35361656d5c9216147a7e18da3e85d93b406a1be;p=quix0rs-gnu-social.git reverse order of register connects --- diff --git a/plugins/EmailRegistration/EmailRegistrationPlugin.php b/plugins/EmailRegistration/EmailRegistrationPlugin.php index 5deae7e35a..3305fed6db 100644 --- a/plugins/EmailRegistration/EmailRegistrationPlugin.php +++ b/plugins/EmailRegistration/EmailRegistrationPlugin.php @@ -84,8 +84,8 @@ class EmailRegistrationPlugin extends Plugin function onStartInitializeRouter($m) { - $m->connect('main/register/:code', array('action' => 'emailregister')); $m->connect('main/register', array('action' => 'emailregister')); + $m->connect('main/register/:code', array('action' => 'emailregister')); return true; }