diff --git a/module/pivot/model.php b/module/pivot/model.php index 03864219c4..c5aa993ce5 100644 --- a/module/pivot/model.php +++ b/module/pivot/model.php @@ -1916,7 +1916,7 @@ class pivotModel extends model case 'option': if($field) { - $path = $this->app->getExtensionRoot() . 'biz' . DS . 'dataview' . DS . 'table' . DS . "$object.php"; + $path = $this->app->getModuleRoot() . 'dataview' . DS . 'table' . DS . "$object.php"; include $path; $options = $schema->fields[$field]['options']; diff --git a/module/screen/model.php b/module/screen/model.php index 4a36396a6e..7fd730f7b4 100644 --- a/module/screen/model.php +++ b/module/screen/model.php @@ -745,7 +745,7 @@ class screenModel extends model case 'option': if($field) { - $path = $this->app->getExtensionRoot() . 'biz' . DS . 'dataview' . DS . 'table' . DS . "$object.php"; + $path = $this->app->getModuleRoot() . 'dataview' . DS . 'table' . DS . "$object.php"; include $path; $options = $schema->fields[$field]['options'];