Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MINOR Fixed tabs (from r93859)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93944 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
commit c340d9a1c5143c9e8278540f95a1c602cc19585a 1 parent 8d5ff0c
@chillu chillu authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  core/model/DataObject.php
View
3  core/model/DataObject.php
@@ -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";
Please sign in to comment.
Something went wrong with that request. Please try again.