]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/register.php
add a print_r for the yadis doc returned
[quix0rs-gnu-social.git] / actions / register.php
index cd04865067dfc93e0bf67b0fe2247bc02ce1cdde..d2e54b634596e8ecf3f5077910fafbba65c32d60 100644 (file)
@@ -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')));