Closed splash112 closed 3 years ago
Can you do a pull request or just paste the diff here instead?
Sure, hope to learn how to do a pull request soon:
diff --git a/includes/theme.inc b/includes/theme.inc index a47fa1e4aa..4683382d2a 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -1216,7 +1216,7 @@ function theme_links($links, $attributes = array('class' => 'links')) { global $language; $output = '';
if (!empty($links)) { $output = '<ul'. drupal_attributes($attributes) .'>';
$num_links = count($links);
`diff --git a/includes/theme.inc b/includes/theme.inc index a47fa1e4aa..4683382d2a 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -1216,7 +1216,7 @@ function theme_links($links, $attributes = array('class' => 'links')) { global $language; $output = '';
if (!empty($links)) { $output = '<ul'. drupal_attributes($attributes) .'>';
$num_links = count($links); `
Hi Niklas,
Maybe it works better in a mail.
diff --git a/includes/theme.inc b/includes/theme.inc index a47fa1e4aa..4683382d2a 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -1216,7 +1216,7 @@ function theme_links($links, $attributes = array('class' => 'links')) { global $language; $output = '';
if (!empty($links)) { $output = '<ul'. drupal_attributes($attributes) .'>';
$num_links = count($links);
@splash112 I created a PR for you, in the future you can do this yourself for simple changes right here on Github by editing the directly.
Thanks! I posted some review on the PR #54
Hi,
One last theme.inc change that reduced errors on my site. theme_inc.zip