forked from GNUsocial/gnu-social
		
	Properly output error messages in AJAX mode
This commit is contained in:
		@@ -239,7 +239,7 @@ class Action extends HTMLOutputter // lawsuit
 | 
				
			|||||||
        $this->elementEnd('head');
 | 
					        $this->elementEnd('head');
 | 
				
			||||||
        $this->elementStart('body');
 | 
					        $this->elementStart('body');
 | 
				
			||||||
        if ($this->getError()) {
 | 
					        if ($this->getError()) {
 | 
				
			||||||
            $this->element('p', array('id'=>'error'), $msg);
 | 
					            $this->element('p', array('id'=>'error'), $this->getError());
 | 
				
			||||||
        } else {
 | 
					        } else {
 | 
				
			||||||
            $this->showContent();
 | 
					            $this->showContent();
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user