Added none as the fallback if an editor gets unpublished.

This commit is contained in:
2018-07-07 00:27:29 +02:00
parent 2b39af94a2
commit 9fd59f2353
12 changed files with 84 additions and 29 deletions

View File

@ -99,9 +99,6 @@ class Mapping
*/
public function __construct($data = false)
{
// set the app to insure messages can be set
$this->app = JFactory::getApplication();
if (ComponentbuilderHelper::checkArray($data))
{
if (isset($data['buildcomp']) && 1 == $data['buildcomp'] && isset($data['buildcompsql']))

View File

@ -36,6 +36,8 @@ class Extrusion extends Builder
*/
public function __construct(&$data)
{
// set the app to insure messages can be set
$this->app = JFactory::getApplication();
// make sure we have an id
if (isset($data['id']) && $data['id'] > 0)
{