Extended profile - don't show rel for empty phone number
This commit is contained in:
		@@ -160,10 +160,12 @@ class ExtendedProfileWidget extends Form
 | 
			
		||||
    protected function showPhone($name, $field)
 | 
			
		||||
    {
 | 
			
		||||
        $this->out->elementStart('div', array('class' => 'phone-display'));
 | 
			
		||||
        if (!empty($field['value'])) {
 | 
			
		||||
            $this->out->text($field['value']);
 | 
			
		||||
            if (!empty($field['rel'])) {
 | 
			
		||||
               $this->out->text(' (' . $field['rel'] . ')');
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
        $this->out->elementEnd('div');
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user