|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patch fix_wrong_utf_string_cut.patch for Website problem Bug #55177Patch version 2011-08-16 05:53 UTC Return to Bug #55177 | Download this patchThis patch is obsolete Obsoleted by patches: This patch renders other patches obsolete Obsolete patches: Patch Revisions:
Developer: irker@php.net
Index: entry/event.php
===================================================================
--- entry/event.php (revision 314981)
+++ entry/event.php (working copy)
@@ -21,6 +21,8 @@
if (empty($sdesc) || empty($email) || empty($country) || empty($category) || empty($type) || empty($url))
die("missing some parameters.");
+$sdesc = mb_strcut($sdesc, 0, 32);
+
// The answer to the "spam question"
if ($sane != 3) {
die("I feel for you");
|
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 08:00:01 2025 UTC |