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

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Mon Jul 9 17:26:41 EDT 2007


Author: jondaley
Date: 2007-07-09 17:26:41 -0400 (Mon, 09 Jul 2007)
New Revision: 5635

Modified:
   plog/branches/lifetype-1.2/class/action/admin/admindeletecommentaction.class.php
Log:
comment_no_topic doesn't exist, and comment_default_title is probably a good enough replacement

Modified: plog/branches/lifetype-1.2/class/action/admin/admindeletecommentaction.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/action/admin/admindeletecommentaction.class.php	2007-07-09 21:12:03 UTC (rev 5634)
+++ plog/branches/lifetype-1.2/class/action/admin/admindeletecommentaction.class.php	2007-07-09 21:26:41 UTC (rev 5635)
@@ -104,7 +104,7 @@
 					// check if the comment really belongs to this blog...
 					$article = $comment->getArticle();
                     if(!($topic = $comment->getTopic()))
-                        $topic = $this->_locale->tr("comment_no_topic");
+                        $topic = $this->_locale->tr("comment_default_title");
 					if( $article->getBlogId() != $this->_blogInfo->getId()) {
 						// if not, then we shouldn't be allowed to remove anything!						
 						$errorMessage .= $this->_locale->pr("error_deleting_comment", $topic)."<br/>";



More information about the pLog-svn mailing list