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:
Ingo Schommer 2009-11-30 00:45:59 +00:00
parent 8d5ff0ce61
commit c340d9a1c5

View File

@ -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";