From a954bb8c0a9b5024209bd4a03ca2ed9329027995 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 28 May 2008 13:07:52 -0400 Subject: [PATCH] show error messages in registration form darcs-hash:20080528170752-84dde-86f5965c108fffe703e62bd42f6bd0eda22f1931.gz --- actions/register.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/actions/register.php b/actions/register.php index cd04865067..d2e54b6345 100644 --- a/actions/register.php +++ b/actions/register.php @@ -117,8 +117,11 @@ class RegisterAction extends Action { function show_form($error=NULL) { global $config; - + common_show_header(_t('Register')); + if ($error) { + common_element('div', 'error', $error); + } common_element_start('form', array('method' => 'POST', 'id' => 'login', 'action' => common_local_url('register')));