Skip to content

Commit

Permalink
Merge pull request #355 from seamuslee001/php82_dynamic_properites
Browse files Browse the repository at this point in the history
[REF][PHP8.2] Fix Pager Common and Smarty issue with Dynamic properti…
  • Loading branch information
demeritcowboy authored Dec 6, 2022
2 parents a6265f9 + ecc189e commit f48cb66
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Pager/Common.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,11 @@ class Pager_Common
*/
var $_urlVar = 'pageID';

/**
* @var string
*/
public $_url;

/**
* @var array data to pass through the link
* @access private
Expand Down Expand Up @@ -450,6 +455,8 @@ class Pager_Common
*/
var $range = array();

public $_pageData = [];

/**
* @var array list of available options (safety check)
* @access private
Expand Down Expand Up @@ -1699,4 +1706,4 @@ function errorMessage($code)

// }}}
}
?>
?>
1 change: 1 addition & 0 deletions Smarty/Smarty.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
/**
* @package Smarty
*/
#[AllowDynamicProperties]
class Smarty
{
/**#@+
Expand Down

0 comments on commit f48cb66

Please sign in to comment.