From b64adf07c82087816dc5c4b37c13c0ef4d69223c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Fri, 19 Oct 2007 10:19:03 +0000 Subject: #182645 by scor: clean up concatenations to be in line with core coding standards --- includes/common.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'includes') diff --git a/includes/common.inc b/includes/common.inc index 17a70c251..51aefac5f 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -1905,7 +1905,7 @@ function drupal_get_js($scope = 'header', $javascript = NULL) { if ($is_writable && $preprocess_js && count($files) > 0) { $filename = md5(serialize($files)) .'.js'; $preprocess_file = drupal_build_js_cache($files, $filename); - $preprocessed .= ''. "\n"; + $preprocessed .= ''."\n"; } // Keep the order of JS files consistent as some are preprocessed and others are not. @@ -2134,7 +2134,7 @@ function _packer_replacement($arguments, $regexps = NULL, $escape = NULL) { } else { $delete = !$escape || strpos($arguments[$i], '\\') === FALSE - ? '' : "\x01" . $arguments[$i] . "\x01"; + ? '' : "\x01". $arguments[$i] ."\x01"; return $delete . $replacement; } // skip over references to sub-expressions @@ -3160,7 +3160,7 @@ function drupal_write_record($table, &$object, $update = array()) { // Build the SQL. $query = ''; if (!count($update)) { - $query = "INSERT INTO {". $table ."} (" . implode(', ', $fields) . ') VALUES (' . implode(', ', $placeholders) . ')'; + $query = "INSERT INTO {". $table ."} (". implode(', ', $fields) .') VALUES ('. implode(', ', $placeholders) .')'; $return = SAVED_NEW; } else { @@ -3169,7 +3169,7 @@ function drupal_write_record($table, &$object, $update = array()) { if ($query) { $query .= ', '; } - $query .= $field . ' = ' . $placeholders[$id]; + $query .= $field .' = '. $placeholders[$id]; } foreach ($update as $key){ -- cgit v1.2.3