Commit c14b03b6 authored by Dries's avatar Dries
Browse files

- Patch #320747 by lilou, UltimateBoy: removed double semicolons.

parent 63d0ea99
......@@ -1100,7 +1100,7 @@ function _filter_xss_attributes($attr) {
$thisval = filter_xss_bad_protocol($match[1]);
if (!$skip) {
$attrarr[] = "$attrname='$thisval'";;
$attrarr[] = "$attrname='$thisval'";
}
$working = 1; $mode = 0;
$attr = preg_replace("/^'[^']*'(\s+|$)/", '', $attr);
......
......@@ -274,7 +274,7 @@ function theme_simpletest_test_table($table) {
return '<strong>' . t('No tests to display.') . '</strong>';
}
else {
return theme('table', $header, $rows, array('id' => 'simpletest-form-table'));;
return theme('table', $header, $rows, array('id' => 'simpletest-form-table'));
}
}
......
......@@ -2054,7 +2054,7 @@ function system_goto_action($object, $context) {
*/
function system_block_ip_action() {
$ip = ip_address();
db_query("INSERT INTO {blocked_ips} (ip) VALUES ('%s')", $ip);;
db_query("INSERT INTO {blocked_ips} (ip) VALUES ('%s')", $ip);
watchdog('action', 'Banned IP address %ip', array('%ip' => $ip));
}
......
......@@ -627,7 +627,7 @@ function taxonomy_form_term(&$form_state, $vocabulary, $edit = array()) {
$form['#term'] = $edit;
$form['#term']['parent'] = $parent;
$form['#vocabulary'] = (array)$vocabulary;
$form['#vocabulary']['nodes'] = drupal_map_assoc($vocabulary->nodes);;
$form['#vocabulary']['nodes'] = drupal_map_assoc($vocabulary->nodes);
// Check for confirmation forms.
if (isset($form_state['confirm_delete'])) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment