Skip to content

Commit

Permalink
Fix string on PHP8
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienheraud committed Jan 26, 2024
1 parent 835b0a8 commit c45cfd8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/com_cck/views/form/view.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion modules/mod_cck_form/mod_cck_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit c45cfd8

Please sign in to comment.