[Tickets #347] NEW: problem.php Script error

bugs at bugs.horde.org bugs at bugs.horde.org
Thu Jul 1 08:04:13 PDT 2004


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

-Ticket 347
-Queue: Horde Base
-Created By: 


>From imp at coresystem.net (Thu Jul  1 08:04:13 2004):
On that url:
http://www.host.com/horde/problem.php?email=&name=&return_url=%2Fhorde%2Fimp
%2Fmailbox.php%3Fmailbox%3DINBOX

We have an javascript error.
In fact with french language there are some ' (quotes) in the
alert(' that makes an error

Ive made a patch, it seems to fix it in any cases

/horde/templates/problem/javascript.inc 
-------------------

-           alert('<?php echo _("You must describe the problem before you
can send the problem report."); ?>');

+           <?php $str = eregi_replace("'", "\'", _("You must describe the
problem before you can send the problem report.")) ?>
+           alert('<?php echo $str; ?>');         




http://bugs.horde.org/details.php?id=347

-- 


More information about the bugs mailing list