aboutsummaryrefslogtreecommitdiff
path: root/www/dokuwiki/files/patch-lib-exe-spellcheck.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/dokuwiki/files/patch-lib-exe-spellcheck.php')
-rw-r--r--www/dokuwiki/files/patch-lib-exe-spellcheck.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/dokuwiki/files/patch-lib-exe-spellcheck.php b/www/dokuwiki/files/patch-lib-exe-spellcheck.php
new file mode 100644
index 000000000000..a4d40ade8ae4
--- /dev/null
+++ b/www/dokuwiki/files/patch-lib-exe-spellcheck.php
@@ -0,0 +1,11 @@
+--- lib/exe/spellcheck.php.orig 2007-07-23 14:40:45.000000000 +0800
++++ lib/exe/spellcheck.php 2007-07-23 14:39:30.000000000 +0800
+@@ -272,7 +272,7 @@
+ * Just send data back as received for UTF-8 testing
+ */
+ function spell_utf8test(){
+- print $_POST['data'];
++ print substr( $_POST['data'], 0, 3 );
+ }
+
+ /**