From ee691c593adfaf4c8046cf6ee2bc9796a28a1448 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 22 Aug 2010 11:04:09 +0000 Subject: - Patch #887102 by Heine: trigger and action escaping issues. Critical bug fix. --- includes/actions.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes/actions.inc') diff --git a/includes/actions.inc b/includes/actions.inc index 129f38d3b..8ee7d5129 100644 --- a/includes/actions.inc +++ b/includes/actions.inc @@ -292,7 +292,7 @@ function actions_synchronize($delete_orphans = FALSE) { 'label' => $array['label'], )) ->execute(); - watchdog('actions', "Action '%action' added.", array('%action' => filter_xss_admin($array['label']))); + watchdog('actions', "Action '%action' added.", array('%action' => $array['label'])); } } } @@ -305,7 +305,7 @@ function actions_synchronize($delete_orphans = FALSE) { $actions = db_query('SELECT aid, label FROM {actions} WHERE callback IN (:orphaned)', array(':orphaned' => $orphaned))->fetchAll(); foreach ($actions as $action) { actions_delete($action->aid); - watchdog('actions', "Removed orphaned action '%action' from database.", array('%action' => filter_xss_admin($action->label))); + watchdog('actions', "Removed orphaned action '%action' from database.", array('%action' => $action->label)); } } else { -- cgit v1.2.3