Skip to content

Commit

Permalink
MINOR Fixed tabs (from r93859)
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93944 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information
chillu committed Nov 30, 2009
1 parent 8d5ff0c commit c340d9a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/model/DataObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -2136,7 +2136,8 @@ public function hasDatabaseField($field) {
*
* @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";
Expand Down

0 comments on commit c340d9a

Please sign in to comment.