fixed syntax error
This commit is contained in:
		
							parent
							
								
									489f90dc8b
								
							
						
					
					
						commit
						39e739bd86
					
				| 
						 | 
				
			
			@ -732,7 +732,7 @@ class sambaAccount extends baseModule {
 | 
			
		|||
				0 => array('kind' => 'text', 'text' => _('Repeat password') ),
 | 
			
		||||
				1 => array('kind' => 'input', 'name' => 'lmPassword2', 'type' => 'password', 'size' => '20', 'maxlength' => '255', 'value' => ''),
 | 
			
		||||
				2 => array('kind' => 'help', 'value' => 'password'));
 | 
			
		||||
			if (isset($this->getAccountContainer()->getAccountModule('posixAccount')->getClearTextPassword())) {
 | 
			
		||||
			if ($this->getAccountContainer()->getAccountModule('posixAccount')->getClearTextPassword() != null) {
 | 
			
		||||
				$return[] = array ( 0 => array ( 'kind' => 'text', 'text' => _('Use Unix password') ),
 | 
			
		||||
					1 => array ( 'kind' => 'input', 'name' => 'useunixpwd', 'type' => 'checkbox', 'checked' => $this->useunixpwd, 'value' => true),
 | 
			
		||||
					2 => array ('kind' => 'help', 'value' => 'pwdUnix'));
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -897,7 +897,7 @@ class sambaSamAccount extends baseModule {
 | 
			
		|||
				$return[] = array(
 | 
			
		||||
					0 => array('kind' => 'text', 'text' => _('Repeat password')),
 | 
			
		||||
					1 => array('kind' => 'input', 'name' => 'sambaLMPassword2', 'type' => 'password', 'size' => '20', 'maxlength' => '255'));
 | 
			
		||||
				if (isset($this->getAccountContainer()->getAccountModule('posixAccount')->getClearTextPassword())) {
 | 
			
		||||
				if ($this->getAccountContainer()->getAccountModule('posixAccount')->getClearTextPassword() != null) {
 | 
			
		||||
					$return[] = array ( 0 => array ( 'kind' => 'text', 'text' => _('Use Unix password') ),
 | 
			
		||||
						1 => array ( 'kind' => 'input', 'name' => 'useunixpwd', 'type' => 'checkbox', 'checked' => $this->useunixpwd),
 | 
			
		||||
						2 => array ('kind' => 'help', 'value' => 'useunixpwd'));
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue