mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 23:24:57 +00:00
init separator and validation error in constructor
This commit is contained in:
parent
ffe4b50c7f
commit
c50be6d215
|
@ -486,10 +486,10 @@ class SeedDMS_Core_AttributeDefinition { /* {{{ */
|
|||
$this->_minvalues = $minvalues;
|
||||
$this->_maxvalues = $maxvalues;
|
||||
$this->_valueset = $valueset;
|
||||
$this->_separator = '';
|
||||
$this->_separator = substr($valueset, 0, 1);
|
||||
$this->_regex = $regex;
|
||||
$this->_dms = null;
|
||||
$this->_validation_error = 0;
|
||||
$this->_validation_error = SeedDMS_Core_AttributeDefinition::val_error_none;
|
||||
} /* }}} */
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user