OSDN Git Service

typo? at "create smart links"
[nucleus-jp/nucleus-jp-ancient.git] / utf8 / nucleus / libs / COMMENTACTIONS.php
index 83874bc..87c46d1 100644 (file)
@@ -14,8 +14,8 @@
  *
  * @license http://nucleuscms.org/license.txt GNU General Public License
  * @copyright Copyright (C) 2002-2007 The Nucleus Group
- * @version $Id: COMMENTACTIONS.php,v 1.4 2007-03-19 10:20:24 shizuki Exp $
- * @version $NucleusJP: COMMENTACTIONS.php,v 1.2 2006/07/20 08:01:52 kimitake Exp $
+ * @version $Id: COMMENTACTIONS.php,v 1.5 2007-04-20 08:43:57 kimitake Exp $
+ * @version $NucleusJP: COMMENTACTIONS.php,v 1.4 2007/03/19 10:20:24 shizuki Exp $
  */
 
 class COMMENTACTIONS extends BaseActions {
@@ -121,9 +121,9 @@ class COMMENTACTIONS extends BaseActions {
                        elseif (strstr($comment['userid'],'www') != false)
                                $comment['userlinkraw'] = 'http://'.$comment['userid'];
                        elseif (isValidMailAddress($comment['email']))
-                               $comment['userlinkraw'] = 'mailto:'.$comment['userid'];
-                       elseif (isValidMailAddress($comment['userid']))
                                $comment['userlinkraw'] = 'mailto:'.$comment['email'];
+                       elseif (isValidMailAddress($comment['userid']))
+                               $comment['userlinkraw'] = 'mailto:'.$comment['userid'];
                }
 
                $this->currentComment =& $comment;
@@ -315,4 +315,4 @@ class COMMENTACTIONS extends BaseActions {
                call_user_func_array(array(&$plugin,'doTemplateCommentsVar'), $params);
        }
 }
-?>
\ No newline at end of file
+?>