mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #3053 from nhorstmeier/patch-1
Update remove extra ); from relation callback function
This commit is contained in:
commit
99c4b58681
@ -191,7 +191,6 @@ Sample implementation of a custom loader. Assumes a CSV-file in a certain format
|
|||||||
}
|
}
|
||||||
public static function getTeamByTitle(&$obj, $val, $record) {
|
public static function getTeamByTitle(&$obj, $val, $record) {
|
||||||
return FootballTeam::get()->filter('Title', $val)->First();
|
return FootballTeam::get()->filter('Title', $val)->First();
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user