]> _ Git - cubist_cms-back.git/commitdiff
wip #3458
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 3 Mar 2020 19:12:14 +0000 (20:12 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 3 Mar 2020 19:12:14 +0000 (20:12 +0100)
src/app/Magic/Models/CubistMagicAbstractModel.php

index 6626a3015845e4717562f8e9c317b98d780f4eda..324fe911372ad936bb57b4fa70fdc45d576f07d1 100644 (file)
@@ -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'];