mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Fixed tabs (from r93859)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93944 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
8d5ff0ce61
commit
c340d9a1c5
@ -2136,7 +2136,8 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity
|
||||
*
|
||||
* @param string $field Name of the field
|
||||
* @return string The field type of the given field
|
||||
*/ public function hasOwnTableDatabaseField($field) {
|
||||
*/
|
||||
public function hasOwnTableDatabaseField($field) {
|
||||
// Add base fields which are not defined in static $db
|
||||
if($field == "ID") return "Int";
|
||||
if($field == "ClassName" && get_parent_class($this) == "DataObject") return "Enum";
|
||||
|
Loading…
x
Reference in New Issue
Block a user