From: Adrian Lang Date: Fri, 13 Mar 2009 21:06:02 +0000 (+0100) Subject: Fix typo in the the newmessage route. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=40073120b9575dc08db16a5005ba6beb408290e2;p=quix0rs-gnu-social.git Fix typo in the the newmessage route. --- diff --git a/lib/router.php b/lib/router.php index 50d5a4ee13..e39dc217a3 100644 --- a/lib/router.php +++ b/lib/router.php @@ -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]+'));