1
0
mirror of synced 2025-01-18 06:21:40 +03:00

Added generation for "equal: true" in the relations block of yml.

This commit is contained in:
phuson 2007-10-17 05:43:07 +00:00
parent 852a2fdf87
commit e63393cd39

View File

@ -401,6 +401,10 @@ END;
$a[] = '\'onUpdate\' => ' . var_export($relation['onUpdate'], true);
}
if (isset($relation['equal']) && $relation['equal']) {
$a[] = '\'equal\' => ' . var_export($relation['equal'], true);
}
if ( ! empty($a)) {
$ret[$i] .= ', ' . 'array(';
$length = strlen($ret[$i]);