From: Vincent Vanwaelscappel Date: Tue, 3 Mar 2020 19:12:14 +0000 (+0100) Subject: wip #3458 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=460bfd45c1b7020e0a986158225c5ec4c9d09401;p=cubist_cms-back.git wip #3458 --- diff --git a/src/app/Magic/Models/CubistMagicAbstractModel.php b/src/app/Magic/Models/CubistMagicAbstractModel.php index 6626a30..324fe91 100644 --- a/src/app/Magic/Models/CubistMagicAbstractModel.php +++ b/src/app/Magic/Models/CubistMagicAbstractModel.php @@ -307,7 +307,7 @@ class CubistMagicAbstractModel extends Model implements HasMedia 'SINGULAR' => $this->getOption('singular', $this->getOption('name')), 'PLURAL' => $this->getOption('plural', ''), 'MODELNAMESPACE' => get_class($this), - 'EXTENDS' => $this->_getBaseController(), + 'EXTENDS' => '\\' . $this->_getBaseController(), 'CLONABLE' => $this->clonable ? 'true' : 'false', 'BULK' => $this->getOption('bulk', true) ? 'true' : 'false', 'ONEINSTANCE' => $this->getOption('oneinstance', false) ? 'true' : 'false'];