Heine

  • home
  • drupal
  • drupal core commits
  • about
Home › Drupal Core Commits

Commit 233178 by dries

- Patch #509220 by tic2000: fixed text_field_sanitize() error.

--- modules/field/modules/text/text.module      2009/07/01 12:10:32     1.14
+++ modules/field/modules/text/text.module      2009/07/03 18:19:29     1.15
@@ -214,9 +214,9 @@
         }
       }
       else {
-        $item[$delta]['safe'] = check_plain($item['value']);
+        $items[$delta]['safe'] = check_plain($item['value']);
         if ($field['type'] == 'text_with_summary') {
-          $item[$delta]['safe_summary'] = check_plain($item['summary']);
+          $items[$delta]['safe_summary'] = check_plain($item['summary']);
         }
       }
     }

No votes yet
  • Drupal Core
  • Download patch

Recent posts

  • The Joomlafication of the Dutch-speaking community
  • Upgraded from 6.14 to 6.15, but Drupal still thinks it's 6.14?
  • Google Friendconnect Drupal module not recommended (yet)
  • The OpenID 2.0 Compliance Crusade - Part I
  • Using <embed> for XSS
more

Security reviews

  • Afraid custom code makes your site vulnerable?
  • You don't really trust that module you just downloaded from Drupal.org?

Sleep better after a security review.

Tags

Captcha CSRF DOH! Drupal embed Input Format modx OpenID Performance Planet Drupal Security Varnish
more tags
  • home
  • drupal
  • drupal core commits
  • about

Copyright © 2010 by Heine Deelstra. All rights reserved.