diff --git a/components/com_cck/views/form/view.html.php b/components/com_cck/views/form/view.html.php index 5438d00e9..48364d803 100644 --- a/components/com_cck/views/form/view.html.php +++ b/components/com_cck/views/form/view.html.php @@ -55,7 +55,7 @@ protected function prepareDisplay( $preconfig ) $view = $this->getName(); $live = urldecode( $params->get( 'live', '' ) ); - $variation = $params->get( 'variation' ); + $variation = $params->get( 'variation', '' ); // Page $menus = $app->getMenu(); diff --git a/modules/mod_cck_form/mod_cck_form.php b/modules/mod_cck_form/mod_cck_form.php index f1acdc65a..a275fda70 100644 --- a/modules/mod_cck_form/mod_cck_form.php +++ b/modules/mod_cck_form/mod_cck_form.php @@ -40,7 +40,7 @@ $preconfig['url'] = ''; $live = urldecode( $params->get( 'live', '' ) ); -$variation = $params->get( 'variation' ); +$variation = $params->get( 'variation', '' ); jimport( 'cck.base.form.form' ); include JPATH_SITE.'/libraries/cck/base/form/form_inc.php';