diff --git a/core/model/DataObject.php b/core/model/DataObject.php index ca798eb6e..32544e655 100755 --- a/core/model/DataObject.php +++ b/core/model/DataObject.php @@ -2218,7 +2218,7 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity * @param string $dataClass * @return bool */ - public function has_own_table($dataClass) { + public static function has_own_table($dataClass) { // The condition below has the same effect as !is_subclass_of($dataClass,'DataObject'), // which causes PHP < 5.3 to segfault in rare circumstances, see PHP bug #46753