From 221c61a49939dac779f68e4584dd9655b3e7201e Mon Sep 17 00:00:00 2001 From: Adrian Lang Date: Fri, 13 Mar 2009 22:06:02 +0100 Subject: [PATCH] Fix typo in the the newmessage route. --- lib/router.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]+')); -- 2.39.5