upport ae2414134e
fixed spamblock PHP 5.4 warning
This commit is contained in:
@ -28,7 +28,7 @@ var $filter_defaults;
|
|||||||
'smarty' => '2.6.7',
|
'smarty' => '2.6.7',
|
||||||
'php' => '4.1.0'
|
'php' => '4.1.0'
|
||||||
));
|
));
|
||||||
$propbag->add('version', '1.79');
|
$propbag->add('version', '1.80');
|
||||||
$propbag->add('event_hooks', array(
|
$propbag->add('event_hooks', array(
|
||||||
'frontend_saveComment' => true,
|
'frontend_saveComment' => true,
|
||||||
'external_plugin' => true,
|
'external_plugin' => true,
|
||||||
@ -1259,7 +1259,7 @@ var $filter_defaults;
|
|||||||
|
|
||||||
|
|
||||||
case 'external_plugin':
|
case 'external_plugin':
|
||||||
$parts = explode('_', $eventData);
|
$parts = explode('_', (string)$eventData);
|
||||||
if (!empty($parts[1])) {
|
if (!empty($parts[1])) {
|
||||||
$param = (int) $parts[1];
|
$param = (int) $parts[1];
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user