[Fixed]: bug in "smilies.inc.php" [Fixed]: bug in "smilies.inc.php"
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

[Fixed]: bug in "smilies.inc.php"

Started by foulu, May 23, 2008, 07:49:02 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

foulu

I think I found a bug in "smilies.inc.php". Here is the code

line 163:

Quoteif (document.$form.$field.createTextRange && document.post.message.caretPos) {

it must be

Quoteif (document.$form.$field.createTextRange && document.$form.$field.caretPos) {

it work fine with comment, but not with my forum plugin.

Joachim Müller

Applied suggested fix to code in SVN repository both for cpg1.4.x as well as cpg1.5.x, so this will go into cpg1.4.20 and cpg1.5.0 and better.