[pLog-svn] r6448 - plog/branches/lifetype-1.2/class/action

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Fri May 9 09:53:48 EDT 2008


Author: jondaley
Date: 2008-05-09 09:53:48 -0400 (Fri, 09 May 2008)
New Revision: 6448

Modified:
   plog/branches/lifetype-1.2/class/action/addcommentaction.class.php
Log:
use a message we already have in the locale for the 1.2 branch, I'll add the string in 2.0

Modified: plog/branches/lifetype-1.2/class/action/addcommentaction.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/action/addcommentaction.class.php	2008-05-08 20:59:45 UTC (rev 6447)
+++ plog/branches/lifetype-1.2/class/action/addcommentaction.class.php	2008-05-09 13:53:48 UTC (rev 6448)
@@ -215,7 +215,7 @@
                 // the user is trying to add (a reload or submit button mistake, perhaps?)
             if( $comments->getIdentical( $comment )){
                 $this->_view = new ErrorView( $this->_blogInfo );
-                $this->_view->setValue( "message", "error_adding_duplicate_comment" );
+                $this->_view->setValue( "message", "error_adding_comment" );
                 $this->setCommonData();
                 return false;
             }



More information about the pLog-svn mailing list