removed the TODO mention. Will keep the Propel code here so it can work with older version of Propel
This commit is contained in:
parent
0e4419ba67
commit
8125163395
@ -77,7 +77,6 @@ class ModelChoiceList extends ObjectChoiceList
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (1 === count($this->identifier)) {
|
if (1 === count($this->identifier)) {
|
||||||
// TODO this should be current($this->identifier)->isInteger() when propel ColumnMap contains the isInteger function
|
|
||||||
if ($this->isInteger(current($this->identifier))) {
|
if ($this->isInteger(current($this->identifier))) {
|
||||||
$this->identifierAsIndex = true;
|
$this->identifierAsIndex = true;
|
||||||
}
|
}
|
||||||
@ -368,7 +367,6 @@ class ModelChoiceList extends ObjectChoiceList
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Whether this column in an integer
|
* Whether this column in an integer
|
||||||
* TODO we could add this function to propel ColumnMap class instead
|
|
||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user