mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-31 13:18:06 +00:00 
			
		
		
		
	treat empty attribute value as no value in validate()
This commit is contained in:
		
							parent
							
								
									44dbf74c57
								
							
						
					
					
						commit
						a32a5c929a
					
				|  | @ -863,8 +863,10 @@ class SeedDMS_Core_AttributeDefinition { /* {{{ */ | |||
| 				$values = explode($attrvalue[0], substr($attrvalue, 1)); | ||||
| 			else | ||||
| 				$values = $attrvalue; | ||||
| 		} else { | ||||
| 		} elseif($attrvalue) { | ||||
| 			$values = array($attrvalue); | ||||
| 		} else { | ||||
| 			$values = array(); | ||||
| 		} | ||||
| 
 | ||||
| 		$this->_validation_error = 0; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Uwe Steinmann
						Uwe Steinmann