Fix smarty reference that causes error with PHP7.2.

This commit is contained in:
Mario Hommel 2019-05-13 21:40:18 +02:00
parent 66f1f3d6ee
commit 3565c0f42e
2 changed files with 5 additions and 3 deletions

View file

@ -1,3 +1,5 @@
4.15.2: Fix smarty reference.
4.15.1: Fix deprecated use of undefined constant INCLUDE_ANY
4.15: Override content message when 404 view is taken over by this plugin

View file

@ -90,7 +90,7 @@ class serendipity_event_staticpage extends serendipity_event
$propbag->add('page_configuration', $this->config);
$propbag->add('type_configuration', $this->config_types);
$propbag->add('author', 'Marco Rinck, Garvin Hicking, David Rolston, Falk Doering, Stephan Manske, Pascal Uhlmann, Ian, Don Chambers');
$propbag->add('version', '4.15.1');
$propbag->add('version', '4.15.2');
$propbag->add('requirements', array(
'serendipity' => '2.0',
'smarty' => '2.6.7',
@ -2435,7 +2435,7 @@ foreach($select AS $select_value => $select_desc) {
}
}
function SmartyInspectConfig($params, &$smarty) {
function SmartyInspectConfig($params, $smarty) {
static $elcount = 0;
global $serendipity;
@ -2484,7 +2484,7 @@ foreach($select AS $select_value => $select_desc) {
return $out;
}
function SmartyInspectConfigFinish($params, &$smarty) {
function SmartyInspectConfigFinish($params, $smarty) {
global $serendipity;
ob_start();