security update core+modules
This commit is contained in:
@@ -117,7 +117,7 @@ class views_object {
|
||||
$localization_keys = $this->localization_keys;
|
||||
}
|
||||
// but plugins don't because there isn't a common init() these days.
|
||||
else if (!empty($this->is_plugin)) {
|
||||
else if (!empty($this->is_plugin) && empty($localization_keys)) {
|
||||
if ($this->plugin_type != 'display') {
|
||||
$localization_keys = array($this->view->current_display);
|
||||
$localization_keys[] = $this->plugin_type;
|
||||
@@ -346,8 +346,8 @@ class views_object {
|
||||
$value = $options;
|
||||
// Build source data and add to the array
|
||||
$format = NULL;
|
||||
if (isset($definition['format_key']) && isset($options[$definition['format_key']])) {
|
||||
$format = $options[$definition['format_key']];
|
||||
if (isset($definition['format_key']) && isset($storage[$definition['format_key']])) {
|
||||
$format = $storage[$definition['format_key']];
|
||||
}
|
||||
$translatable[] = array(
|
||||
'value' => $value,
|
||||
|
||||
Reference in New Issue
Block a user