]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix typo in the the newmessage route.
authorAdrian Lang <mail@adrianlang.de>
Fri, 13 Mar 2009 21:06:02 +0000 (22:06 +0100)
committerAdrian Lang <mail@adrianlang.de>
Fri, 13 Mar 2009 21:06:02 +0000 (22:06 +0100)
lib/router.php

index 50d5a4ee13df0035c8840ca17e38adda2a874c38..e39dc217a36fb87192a483b07852e0c2ff6941dd 100644 (file)
@@ -156,7 +156,7 @@ class Router
                     array('notice' => '[0-9]+'));
 
         $m->connect('message/new', array('action' => 'newmessage'));
-        $m->connect('message/new?to=:to', array('action' => 'newmessage'), array('to' => '[A-Za-z0-9_-]'));
+        $m->connect('message/new?to=:to', array('action' => 'newmessage'), array('to' => '[A-Za-z0-9_-]+'));
         $m->connect('message/:message',
                     array('action' => 'showmessage'),
                     array('message' => '[0-9]+'));