diff options
Diffstat (limited to 'framework/Data/ActiveRecord')
-rw-r--r-- | framework/Data/ActiveRecord/Relations/TActiveRecordRelation.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Data/ActiveRecord/Relations/TActiveRecordRelation.php b/framework/Data/ActiveRecord/Relations/TActiveRecordRelation.php index 63e182ca..4c238801 100644 --- a/framework/Data/ActiveRecord/Relations/TActiveRecordRelation.php +++ b/framework/Data/ActiveRecord/Relations/TActiveRecordRelation.php @@ -161,7 +161,7 @@ abstract class TActiveRecordRelation {
$ids=array();
foreach($properties as $property)
- $ids[] = is_object($obj) ? $obj->getColumnValue($property) : $obj[$property];
+ $ids[] = is_object($obj) ? (string)$obj->getColumnValue($property) : (string)$obj[$property];
return serialize($ids);
}
|